Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001693/0.001693, allocations: 116.2 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.001954/0.001954, allocations: 218.9 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.454/1.454, allocations: 230.6 MB / 254.8 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 46.92 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.89 kB / 0.4916 GB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1198, allocations: 65.99 MB / 0.5561 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003007/0.1228, allocations: 1.808 MB / 0.5579 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1241, allocations: 0.8412 MB / 0.5587 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.1242, allocations: 4 kB / 0.5587 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1244, allocations: 47.75 kB / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1246, allocations: 71.64 kB / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1248, allocations: 67.67 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.125, allocations: 143.4 kB / 0.559 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.1251, allocations: 11.98 kB / 0.559 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1252, allocations: 71.75 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1254, allocations: 87.7 kB / 0.5592 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1254, allocations: 4 kB / 0.5592 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1255, allocations: 71.89 kB / 0.5592 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.1256, allocations: 35.84 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.1257, allocations: 35.8 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.1259, allocations: 147.3 kB / 0.5594 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1259, allocations: 7.984 kB / 0.5594 GB, free: 2.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1259, allocations: 0 / 0.5594 GB, free: 2.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1259, allocations: 0 / 0.5594 GB, free: 2.309 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.0005836/0.1265, allocations: 403 kB / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1265, allocations: 12.03 kB / 0.5598 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.176e-05/0.1266, allocations: 192 / 0.5598 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.1266, allocations: 46.72 kB / 0.5599 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.1269, allocations: 40.81 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1271, allocations: 184.2 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1271, allocations: 12.12 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1271, allocations: 8 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.1275, allocations: 178.3 kB / 0.5603 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1275, allocations: 0 / 0.5603 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.1275, allocations: 3.984 kB / 0.5603 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.1276, allocations: 11.98 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.1279, allocations: 135.8 kB / 0.5604 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.1288, allocations: 0.6444 MB / 0.5611 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.1291, allocations: 110.6 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.1292, allocations: 40.83 kB / 0.5612 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1293, allocations: 0 / 0.5612 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1293, allocations: 30.56 kB / 0.5612 GB, free: 280 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1293, allocations: 3.938 kB / 0.5612 GB, free: 276 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004508/0.1297, allocations: 141.5 kB / 0.5614 GB, free: 128 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1298, allocations: 51.41 kB / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1299, allocations: 130 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1299, allocations: 29.7 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.13, allocations: 124.2 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.13, allocations: 27.78 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.1301, allocations: 33.72 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1302, allocations: 322.8 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1303, allocations: 31.97 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1305, allocations: 93.94 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1308, allocations: 147.5 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1308, allocations: 0 / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003524/0.1311, allocations: 161.4 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1311, allocations: 10.12 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1311, allocations: 4 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1312, allocations: 4 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.1313, allocations: 43.91 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1313, allocations: 4 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1315, allocations: 19.88 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1315, allocations: 4 kB / 0.5626 GB, free: 14.8 MB / 430.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.0001112/0.1316, allocations: 137.7 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1316, allocations: 7.953 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.1319, allocations: 126.4 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1319, allocations: 0 / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1319, allocations: 0 / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.132, allocations: 0 / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1322, allocations: 201.5 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1322, allocations: 0 / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1323, allocations: 35.92 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1323, allocations: 4 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1323, allocations: 7.922 kB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1323, allocations: 0 / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1323, allocations: 0 / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.1327, allocations: 219.4 kB / 0.5633 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.1327, allocations: 81.06 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1327, allocations: 3.984 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1328, allocations: 4 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.1329, allocations: 11.98 kB / 0.5634 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1329, allocations: 0 / 0.5634 GB, free: 13.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.133, allocations: 98.77 kB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.133, allocations: 3.938 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1332, allocations: 27.95 kB / 0.5635 GB, free: 13.75 MB / 430.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.0006466/0.1339, allocations: 0.7435 MB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1342, allocations: 107.8 kB / 0.5643 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1342, allocations: 0 / 0.5643 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1343, allocations: 35.97 kB / 0.5644 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1346, allocations: 8 kB / 0.5644 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1366, allocations: 1.675 MB / 0.566 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1369, allocations: 0.708 MB / 0.5667 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.117e-05/0.137, allocations: 28.53 kB / 0.5667 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.1371, allocations: 27.42 kB / 0.5667 GB, free: 10.23 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1371, allocations: 0 / 0.5667 GB, free: 10.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.1543, allocations: 2.373 MB / 0.5691 GB, free: 8.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.267, allocations: 18.36 kB / 0.5691 GB, free: 8.059 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.311433363007382] 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.393624546995852 8.418546909 8.28821958 Calling exit ...