Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.001441/0.001441, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001994/0.001994, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.436/1.436, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2186/0.2186, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.003223/0.003223, allocations: 63.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1525, allocations: 65.42 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003326/0.1558, allocations: 1.816 MB / 0.5542 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1573, allocations: 0.8335 MB / 0.5551 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.1574, allocations: 3.938 kB / 0.5551 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1576, allocations: 47.75 kB / 0.5551 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.1579, allocations: 71.64 kB / 0.5552 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1581, allocations: 67.67 kB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1583, allocations: 131.5 kB / 0.5554 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.1584, allocations: 16.2 kB / 0.5554 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1586, allocations: 75.69 kB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1587, allocations: 87.7 kB / 0.5555 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1587, allocations: 4 kB / 0.5555 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1589, allocations: 71.89 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.1589, allocations: 31.89 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.159, allocations: 39.73 kB / 0.5557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1592, allocations: 139.4 kB / 0.5558 GB, free: 6.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1593, allocations: 3.938 kB / 0.5558 GB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1593, allocations: 0 / 0.5558 GB, free: 6.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1593, allocations: 0 / 0.5558 GB, free: 6.684 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005994/0.1599, allocations: 422.9 kB / 0.5562 GB, free: 6.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1599, allocations: 8.031 kB / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.329e-05/0.1599, allocations: 4.188 kB / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.16, allocations: 46.73 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.1603, allocations: 32.81 kB / 0.5563 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1605, allocations: 188.2 kB / 0.5565 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1605, allocations: 16.11 kB / 0.5565 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1605, allocations: 19.92 kB / 0.5565 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.1609, allocations: 174.3 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1609, allocations: 0 / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1609, allocations: 0 / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.161, allocations: 11.98 kB / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.1613, allocations: 143.8 kB / 0.5568 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.1622, allocations: 0.6367 MB / 0.5575 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1625, allocations: 114.6 kB / 0.5576 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1626, allocations: 36.83 kB / 0.5576 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1627, allocations: 4 kB / 0.5576 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1627, allocations: 30.56 kB / 0.5576 GB, free: 4.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1627, allocations: 4 kB / 0.5576 GB, free: 4.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004476/0.1631, allocations: 141.7 kB / 0.5578 GB, free: 4.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1632, allocations: 55.34 kB / 0.5578 GB, free: 4.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1633, allocations: 122.1 kB / 0.5579 GB, free: 4.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1633, allocations: 33.64 kB / 0.558 GB, free: 4.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.1634, allocations: 128 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1634, allocations: 27.78 kB / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.1635, allocations: 29.72 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1636, allocations: 326.8 kB / 0.5585 GB, free: 3.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1637, allocations: 31.97 kB / 0.5585 GB, free: 3.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1639, allocations: 97.94 kB / 0.5586 GB, free: 3.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1642, allocations: 139.5 kB / 0.5587 GB, free: 3.395 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1642, allocations: 0 / 0.5587 GB, free: 3.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003608/0.1646, allocations: 165.5 kB / 0.5589 GB, free: 3.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1646, allocations: 8 kB / 0.5589 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1646, allocations: 0 / 0.5589 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1646, allocations: 4 kB / 0.5589 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.1648, allocations: 43.91 kB / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1648, allocations: 0 / 0.5589 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1649, allocations: 19.89 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1649, allocations: 11.98 kB / 0.559 GB, free: 3.141 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001215/0.165, allocations: 133.8 kB / 0.5591 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1651, allocations: 11.94 kB / 0.5591 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.1654, allocations: 114 kB / 0.5592 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1654, allocations: 4 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1654, allocations: 0 / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1654, allocations: 0 / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1657, allocations: 201.5 kB / 0.5594 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1657, allocations: 4 kB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1658, allocations: 23.98 kB / 0.5594 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1658, allocations: 3.938 kB / 0.5594 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.1658, allocations: 7.938 kB / 0.5594 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1658, allocations: 4 kB / 0.5594 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1658, allocations: 3.984 kB / 0.5594 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.1662, allocations: 207.4 kB / 0.5596 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.1662, allocations: 89 kB / 0.5597 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1662, allocations: 0 / 0.5597 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1663, allocations: 11.98 kB / 0.5597 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1664, allocations: 15.92 kB / 0.5598 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1664, allocations: 0 / 0.5598 GB, free: 2.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.481e-05/0.1665, allocations: 95.27 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1665, allocations: 0 / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1667, allocations: 27.95 kB / 0.5599 GB, free: 2.098 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006799/0.1674, allocations: 0.748 MB / 0.5606 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1677, allocations: 95.8 kB / 0.5607 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1677, allocations: 0 / 0.5607 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1678, allocations: 40.2 kB / 0.5607 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.1681, allocations: 10.19 kB / 0.5607 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1701, allocations: 1.682 MB / 0.5624 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1705, allocations: 0.7119 MB / 0.5631 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.704e-05/0.1706, allocations: 28.52 kB / 0.5631 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.1706, allocations: 27.42 kB / 0.5631 GB, free: 14.58 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1706, allocations: 0 / 0.5631 GB, free: 14.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.1878, allocations: 2.372 MB / 0.5654 GB, free: 12.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/8.494, allocations: 12.34 kB / 0.5655 GB, free: 12.41 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.537369845958892] Failed to read output from testmodel.py, exit status != 0: ['time', 'MIN', 'A_cross', 'roughness', 'd_hyd', 'K[1]', 'L', 'eta', 'rho', 'input_mdot[1]', 'input_dp[1]', 'M_FLOW[1]', 'DP[1]', 'velocity[1]', 'Re[1]', 'DP_plot[1]', 'zeta_TOT[1]', 'lambda_FRI[1]', 'input_DP.y'] 8.623134338005912 8.640210306 8.477786305 Calling exit ...