Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 44.91 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.89 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.134, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003517/0.1376, allocations: 2.039 MB / 0.5545 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1395, allocations: 1.161 MB / 0.5556 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.1395, allocations: 0 / 0.5556 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.1398, allocations: 59.61 kB / 0.5556 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.14, allocations: 83.5 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1406, allocations: 179.3 kB / 0.5559 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.141, allocations: 322.5 kB / 0.5562 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.184e-05/0.1411, allocations: 25.03 kB / 0.5562 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.1413, allocations: 135.3 kB / 0.5564 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.1416, allocations: 139.3 kB / 0.5565 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.1416, allocations: 8 kB / 0.5565 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.142, allocations: 211.7 kB / 0.5567 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.1421, allocations: 75.67 kB / 0.5568 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1422, allocations: 119.2 kB / 0.5569 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.1428, allocations: 410.2 kB / 0.5573 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1428, allocations: 4 kB / 0.5573 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1428, allocations: 4 kB / 0.5573 GB, free: 5.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1428, allocations: 0 / 0.5573 GB, free: 5.164 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001201/0.144, allocations: 0.6368 MB / 0.5579 GB, free: 4.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.144, allocations: 8.031 kB / 0.5579 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.412e-05/0.144, allocations: 12.75 kB / 0.5579 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.182e-05/0.1441, allocations: 66.67 kB / 0.558 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.1445, allocations: 72.66 kB / 0.5581 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.1449, allocations: 259.3 kB / 0.5583 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.1449, allocations: 24.56 kB / 0.5583 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.1449, allocations: 27.94 kB / 0.5584 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.1457, allocations: 429.9 kB / 0.5588 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1457, allocations: 0 / 0.5588 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.1458, allocations: 11.98 kB / 0.5588 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.1458, allocations: 16.56 kB / 0.5588 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.1465, allocations: 329.8 kB / 0.5591 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.1482, allocations: 1.108 MB / 0.5602 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.1487, allocations: 235.7 kB / 0.5604 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.149, allocations: 102.5 kB / 0.5605 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.1491, allocations: 11.98 kB / 0.5605 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1491, allocations: 38.48 kB / 0.5606 GB, free: 1.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1491, allocations: 0 / 0.5606 GB, free: 1.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001066/0.1502, allocations: 361.2 kB / 0.5609 GB, free: 1.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.1503, allocations: 102.8 kB / 0.561 GB, free: 1.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.1508, allocations: 409.5 kB / 0.5614 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1508, allocations: 25.7 kB / 0.5614 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.151, allocations: 200 kB / 0.5616 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.151, allocations: 47.64 kB / 0.5617 GB, free: 416 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1511, allocations: 69.94 kB / 0.5617 GB, free: 336 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1513, allocations: 342.8 kB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.1517, allocations: 120.1 kB / 0.5622 GB, free: 15.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.1521, allocations: 235.8 kB / 0.5624 GB, free: 15.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.1528, allocations: 363 kB / 0.5627 GB, free: 15.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.1528, allocations: 4 kB / 0.5627 GB, free: 15.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008926/0.1537, allocations: 397.2 kB / 0.5631 GB, free: 14.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1538, allocations: 8 kB / 0.5631 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/0.1538, allocations: 23.98 kB / 0.5631 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.1538, allocations: 15.88 kB / 0.5632 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.1541, allocations: 48.44 kB / 0.5632 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.1541, allocations: 11.92 kB / 0.5632 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.1544, allocations: 59.61 kB / 0.5633 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.1544, allocations: 16 kB / 0.5633 GB, free: 14.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.1546, allocations: 182.8 kB / 0.5635 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.707e-05/0.1547, allocations: 27.81 kB / 0.5635 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000656/0.1554, allocations: 288.2 kB / 0.5638 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.1554, allocations: 11.88 kB / 0.5638 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1554, allocations: 3.984 kB / 0.5638 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1554, allocations: 4 kB / 0.5638 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.1559, allocations: 301.5 kB / 0.5641 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/0.1559, allocations: 23.92 kB / 0.5641 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1561, allocations: 23.97 kB / 0.5641 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1561, allocations: 8 kB / 0.5641 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.1561, allocations: 8 kB / 0.5641 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1561, allocations: 7.938 kB / 0.5641 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1561, allocations: 0 / 0.5641 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.1569, allocations: 0.5054 MB / 0.5646 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.157, allocations: 116.9 kB / 0.5647 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.1571, allocations: 4 kB / 0.5648 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.1573, allocations: 19.91 kB / 0.5648 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.1574, allocations: 15.98 kB / 0.5648 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1574, allocations: 12 kB / 0.5648 GB, free: 12.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.1578, allocations: 291.1 kB / 0.5651 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1578, allocations: 0 / 0.5651 GB, free: 12.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005404/0.1583, allocations: 99.81 kB / 0.5652 GB, free: 12.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.1596, allocations: 1.093 MB / 0.5662 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008677/0.1605, allocations: 422.7 kB / 0.5666 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1605, allocations: 8.125 kB / 0.5666 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.1609, allocations: 270 kB / 0.5669 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.1615, allocations: 69.69 kB / 0.567 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.1672, allocations: 3.846 MB / 0.5707 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.1677, allocations: 0.8025 MB / 0.5715 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.1679, allocations: 66.92 kB / 0.5716 GB, free: 5.703 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.1681, allocations: 79.41 kB / 0.5717 GB, free: 5.625 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1681, allocations: 0 / 0.5717 GB, free: 5.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.1953, allocations: 9.222 MB / 0.5807 GB, free: 12.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.018, allocations: 19.2 kB / 0.5807 GB, free: 12.64 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.034576712991111] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Nu_1[1]', 'Nu_1[2]', 'Nu_1[3]', 'Nu_2[1]', 'Nu_2[2]', 'Nu_2[3]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 9.1455668869894 9.167178952 9.020614838 Calling exit ...