Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.001286/0.001286, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001424/0.001424, allocations: 215.8 kB / 23.77 MB, free: 4.551 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.39/1.39, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.216/0.216, allocations: 44.27 MB / 331.1 MB, free: 9.328 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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.002187/0.002187, allocations: 67.89 kB / 468.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1128, allocations: 61.04 MB / 0.5169 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002958/0.1157, allocations: 1.649 MB / 0.5186 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1172, allocations: 0.8461 MB / 0.5194 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.1173, allocations: 8 kB / 0.5194 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1175, allocations: 27.83 kB / 0.5194 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.1176, allocations: 59.72 kB / 0.5195 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.1181, allocations: 131.5 kB / 0.5196 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1183, allocations: 139.3 kB / 0.5197 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.1183, allocations: 17.61 kB / 0.5197 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.1184, allocations: 59.72 kB / 0.5198 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1185, allocations: 67.73 kB / 0.5199 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1185, allocations: 4 kB / 0.5199 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.1189, allocations: 171.7 kB / 0.52 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.1189, allocations: 39.84 kB / 0.5201 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.119, allocations: 47.67 kB / 0.5201 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.1194, allocations: 235 kB / 0.5203 GB, free: 3.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1194, allocations: 0 / 0.5203 GB, free: 3.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1194, allocations: 0 / 0.5203 GB, free: 3.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1194, allocations: 4 kB / 0.5203 GB, free: 3.668 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006886/0.1201, allocations: 401.4 kB / 0.5207 GB, free: 3.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1201, allocations: 8.031 kB / 0.5207 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.773e-05/0.1201, allocations: 4.188 kB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.1202, allocations: 50.73 kB / 0.5208 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.1215, allocations: 124.6 kB / 0.5209 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1218, allocations: 170.2 kB / 0.5211 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1218, allocations: 8.375 kB / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.1218, allocations: 20.36 kB / 0.5211 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.1226, allocations: 317.3 kB / 0.5214 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1226, allocations: 0 / 0.5214 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.1226, allocations: 7.922 kB / 0.5214 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.1227, allocations: 23.98 kB / 0.5214 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.1235, allocations: 315.7 kB / 0.5217 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.125, allocations: 0.6174 MB / 0.5223 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.1257, allocations: 222.4 kB / 0.5225 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.126, allocations: 84.81 kB / 0.5226 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.126, allocations: 0 / 0.5226 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1261, allocations: 34.56 kB / 0.5227 GB, free: 1.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1261, allocations: 0 / 0.5227 GB, free: 1.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001069/0.1271, allocations: 289.2 kB / 0.5229 GB, free: 0.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1272, allocations: 63.41 kB / 0.523 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1274, allocations: 191.2 kB / 0.5232 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.1274, allocations: 25.7 kB / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1276, allocations: 135.8 kB / 0.5233 GB, free: 448 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.1276, allocations: 35.69 kB / 0.5234 GB, free: 412 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1277, allocations: 54.05 kB / 0.5234 GB, free: 352 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.128, allocations: 326.8 kB / 0.5237 GB, free: 16 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.1283, allocations: 79.89 kB / 0.5238 GB, free: 15.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.1286, allocations: 142.7 kB / 0.5239 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.1293, allocations: 222.6 kB / 0.5242 GB, free: 15.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1293, allocations: 7.938 kB / 0.5242 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007619/0.13, allocations: 273.2 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1301, allocations: 8.875 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1301, allocations: 4 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1301, allocations: 3.984 kB / 0.5244 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.1305, allocations: 79.92 kB / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.1316, allocations: 1.786 MB / 0.5263 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.1319, allocations: 35.8 kB / 0.5263 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.1319, allocations: 11.98 kB / 0.5263 GB, free: 13.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.1321, allocations: 141.7 kB / 0.5264 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.1321, allocations: 19.83 kB / 0.5265 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.1329, allocations: 271 kB / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1329, allocations: 0 / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1329, allocations: 4 kB / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1329, allocations: 96 / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1333, allocations: 216.6 kB / 0.5269 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1333, allocations: 3.938 kB / 0.5269 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.1336, allocations: 75.86 kB / 0.527 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1336, allocations: 0 / 0.527 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.1337, allocations: 11.98 kB / 0.527 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009989/0.1347, allocations: 1.781 MB / 0.5288 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1347, allocations: 4 kB / 0.5288 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.1354, allocations: 319.4 kB / 0.5291 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.1354, allocations: 19.88 kB / 0.5291 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1355, allocations: 0 / 0.5291 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1357, allocations: 11.98 kB / 0.5291 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.1357, allocations: 15.97 kB / 0.5291 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.1358, allocations: 7.984 kB / 0.5291 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1359, allocations: 135.9 kB / 0.5292 GB, free: 10.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1359, allocations: 0 / 0.5292 GB, free: 10.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.1362, allocations: 59.89 kB / 0.5293 GB, free: 10.04 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.1374, allocations: 0.8838 MB / 0.5302 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000862/0.1383, allocations: 240.2 kB / 0.5304 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1383, allocations: 0 / 0.5304 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.1388, allocations: 131.8 kB / 0.5305 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.1391, allocations: 19.94 kB / 0.5305 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.1427, allocations: 2.335 MB / 0.5328 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.1428, allocations: 130.6 kB / 0.5329 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.143, allocations: 65.41 kB / 0.533 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1431, allocations: 55.39 kB / 0.5331 GB, free: 6.016 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1431, allocations: 3.938 kB / 0.5331 GB, free: 6.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.1681, allocations: 5.105 MB / 0.538 GB, free: 0.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.27, allocations: 16 kB / 0.5381 GB, free: 0.9023 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.53252762008924] Failed to read output from testmodel.py, exit status != 0: ['time', 'V_flow[1]', 'V_flow[2]', 'V_flow[3]', 'a[1]', 'a[2]', 'a[3]', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 13.64642373798415 13.658989123 13.536928966 Calling exit ...