Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001764/0.001764, allocations: 109 kB / 20.48 MB, free: 1.477 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.001928/0.001928, allocations: 207.6 kB / 23.78 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.6 MB / 234.6 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2237/0.2237, allocations: 44.24 MB / 331.1 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002188/0.002188, allocations: 71.91 kB / 468.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1226, allocations: 61.05 MB / 0.517 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003456/0.126, allocations: 1.813 MB / 0.5187 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1276, allocations: 0.8499 MB / 0.5196 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.1276, allocations: 7.938 kB / 0.5196 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.1279, allocations: 39.81 kB / 0.5196 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.1282, allocations: 83.58 kB / 0.5197 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1284, allocations: 71.72 kB / 0.5197 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1286, allocations: 131.4 kB / 0.5199 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.1286, allocations: 7.984 kB / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1288, allocations: 71.75 kB / 0.5199 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1289, allocations: 83.72 kB / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.129, allocations: 7.938 kB / 0.52 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1291, allocations: 79.86 kB / 0.5201 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.1292, allocations: 31.84 kB / 0.5201 GB, free: 4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1293, allocations: 43.8 kB / 0.5202 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1296, allocations: 135.4 kB / 0.5203 GB, free: 3.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1296, allocations: 4 kB / 0.5203 GB, free: 3.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1296, allocations: 0 / 0.5203 GB, free: 3.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1296, allocations: 0 / 0.5203 GB, free: 3.82 MB / 398.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.0006414/0.1302, allocations: 337.8 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1303, allocations: 12.03 kB / 0.5206 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.1303, allocations: 192 / 0.5206 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.1303, allocations: 46.75 kB / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.1307, allocations: 36.86 kB / 0.5207 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1309, allocations: 138.4 kB / 0.5209 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1309, allocations: 12.12 kB / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.131, allocations: 4 kB / 0.5209 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.1314, allocations: 176.1 kB / 0.521 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1314, allocations: 7.938 kB / 0.5211 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1314, allocations: 4 kB / 0.5211 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.1314, allocations: 15.98 kB / 0.5211 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.1318, allocations: 131.8 kB / 0.5212 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009338/0.1327, allocations: 0.6086 MB / 0.5218 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.1331, allocations: 102.6 kB / 0.5219 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.1332, allocations: 48.77 kB / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.1332, allocations: 0 / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1333, allocations: 34.55 kB / 0.522 GB, free: 1.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1333, allocations: 0 / 0.522 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004699/0.1337, allocations: 137.5 kB / 0.5221 GB, free: 1.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.1338, allocations: 55.41 kB / 0.5222 GB, free: 1.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1339, allocations: 130 kB / 0.5223 GB, free: 1.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1339, allocations: 29.7 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.134, allocations: 120 kB / 0.5224 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.1341, allocations: 27.94 kB / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.1341, allocations: 29.7 kB / 0.5225 GB, free: 1.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1343, allocations: 326.8 kB / 0.5228 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1344, allocations: 31.97 kB / 0.5228 GB, free: 1.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.1346, allocations: 99.69 kB / 0.5229 GB, free: 0.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.1349, allocations: 139.5 kB / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1349, allocations: 0 / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003315/0.1352, allocations: 157.4 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1352, allocations: 4 kB / 0.5232 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1353, allocations: 7.938 kB / 0.5232 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1353, allocations: 7.938 kB / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1354, allocations: 44.22 kB / 0.5233 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.1355, allocations: 4 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.884e-05/0.1356, allocations: 19.88 kB / 0.5233 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.1356, allocations: 8 kB / 0.5233 GB, free: 0.5 MB / 398.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.0001074/0.1357, allocations: 129.7 kB / 0.5234 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1357, allocations: 7.953 kB / 0.5234 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.136, allocations: 126.4 kB / 0.5235 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.136, allocations: 3.938 kB / 0.5235 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.136, allocations: 0 / 0.5235 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.136, allocations: 0 / 0.5235 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1363, allocations: 180.5 kB / 0.5237 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1363, allocations: 0 / 0.5237 GB, free: 0 / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1364, allocations: 36.12 kB / 0.5237 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1364, allocations: 0 / 0.5237 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1364, allocations: 0 / 0.5237 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1364, allocations: 4 kB / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1364, allocations: 3.938 kB / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.1368, allocations: 215.3 kB / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.1368, allocations: 4 kB / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1368, allocations: 4 kB / 0.524 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1369, allocations: 7.984 kB / 0.524 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.137, allocations: 11.94 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.137, allocations: 7.984 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.938e-05/0.137, allocations: 95.77 kB / 0.5241 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.137, allocations: 0 / 0.5241 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1373, allocations: 27.95 kB / 0.5241 GB, free: 15.57 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.0007856/0.1381, allocations: 0.7514 MB / 0.5248 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.1384, allocations: 91.81 kB / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1384, allocations: 0.5 kB / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1385, allocations: 47.89 kB / 0.525 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1388, allocations: 4 kB / 0.525 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.141, allocations: 1.686 MB / 0.5266 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1414, allocations: 0.7158 MB / 0.5273 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.175e-05/0.1415, allocations: 20.47 kB / 0.5273 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.1415, allocations: 31.42 kB / 0.5274 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1415, allocations: 4 kB / 0.5274 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.1629, allocations: 2.482 MB / 0.5298 GB, free: 9.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.48, allocations: 19.78 kB / 0.5298 GB, free: 9.547 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.71412614302244] 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'] 11.645703018992208 11.867819684 11.73529197 Calling exit ...