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_nominalDensityViscosity_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.001442/0.001442, allocations: 101.9 kB / 20.48 MB, free: 1.246 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.001481/0.001481, allocations: 221.9 kB / 23.78 MB, free: 4.141 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.421/1.421, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.2157/0.2157, allocations: 44.27 MB / 331.1 MB, free: 9.309 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.002209/0.002209, allocations: 67.91 kB / 468.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1151, allocations: 61.04 MB / 0.5169 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003509/0.1187, allocations: 1.797 MB / 0.5187 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1198, allocations: 0.5802 MB / 0.5193 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.1199, allocations: 0 / 0.5193 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.1202, allocations: 35.77 kB / 0.5193 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1204, allocations: 79.52 kB / 0.5194 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.1209, allocations: 131.5 kB / 0.5195 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1212, allocations: 230.8 kB / 0.5197 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.1213, allocations: 12.58 kB / 0.5197 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1214, allocations: 87.52 kB / 0.5198 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1215, allocations: 107.5 kB / 0.5199 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1216, allocations: 4 kB / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.1219, allocations: 187.8 kB / 0.5201 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.122, allocations: 55.69 kB / 0.5202 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.859e-05/0.1221, allocations: 79.48 kB / 0.5202 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.1226, allocations: 314.7 kB / 0.5205 GB, free: 3.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1226, allocations: 4 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1226, allocations: 0 / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1226, allocations: 0 / 0.5205 GB, free: 3.457 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007998/0.1234, allocations: 465.6 kB / 0.521 GB, free: 2.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1235, allocations: 12.02 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.21e-05/0.1235, allocations: 8.688 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.696e-05/0.1236, allocations: 58.73 kB / 0.5211 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.1256, allocations: 208.4 kB / 0.5213 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.126, allocations: 218.1 kB / 0.5215 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.1261, allocations: 20.88 kB / 0.5215 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.1261, allocations: 20.31 kB / 0.5215 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1272, allocations: 0.5045 MB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1272, allocations: 4 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.1273, allocations: 4 kB / 0.522 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.1273, allocations: 28.64 kB / 0.522 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.1286, allocations: 0.5918 MB / 0.5226 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.1309, allocations: 0.9108 MB / 0.5235 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.1316, allocations: 166.4 kB / 0.5237 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.1319, allocations: 92.73 kB / 0.5237 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.132, allocations: 0 / 0.5237 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.132, allocations: 38.5 kB / 0.5238 GB, free: 0 / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.132, allocations: 0 / 0.5238 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001214/0.1332, allocations: 305.2 kB / 0.5241 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1332, allocations: 51.41 kB / 0.5241 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.1335, allocations: 277.8 kB / 0.5244 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1336, allocations: 33.7 kB / 0.5244 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1337, allocations: 167.7 kB / 0.5246 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1337, allocations: 27.94 kB / 0.5246 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1338, allocations: 41.67 kB / 0.5246 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.134, allocations: 334.8 kB / 0.525 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.1344, allocations: 87.89 kB / 0.525 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.1347, allocations: 119.3 kB / 0.5252 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.1354, allocations: 203.2 kB / 0.5254 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1355, allocations: 4 kB / 0.5254 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000875/0.1363, allocations: 269.2 kB / 0.5256 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1363, allocations: 8 kB / 0.5256 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1363, allocations: 0 / 0.5256 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1364, allocations: 4 kB / 0.5256 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006123/0.1425, allocations: 463.2 kB / 0.5261 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.1455, allocations: 1.945 MB / 0.528 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.1459, allocations: 43.78 kB / 0.528 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1459, allocations: 7.984 kB / 0.528 GB, free: 11.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001919/0.1461, allocations: 157.6 kB / 0.5282 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.1462, allocations: 31.86 kB / 0.5282 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.372e-05/0.1462, allocations: 29.8 kB / 0.5282 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1462, allocations: 3.938 kB / 0.5282 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1462, allocations: 96 / 0.5282 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1463, allocations: 3.938 kB / 0.5282 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.1466, allocations: 244.6 kB / 0.5285 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1466, allocations: 4 kB / 0.5285 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006322/0.1529, allocations: 455.3 kB / 0.5289 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1529, allocations: 0 / 0.5289 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.153, allocations: 3.984 kB / 0.5289 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.1559, allocations: 1.941 MB / 0.5308 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1559, allocations: 0 / 0.5308 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.1567, allocations: 335.5 kB / 0.5311 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1568, allocations: 15.86 kB / 0.5311 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.1568, allocations: 0 / 0.5311 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.1572, allocations: 27.97 kB / 0.5312 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.1573, allocations: 11.91 kB / 0.5312 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1573, allocations: 7.984 kB / 0.5312 GB, free: 8.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.1575, allocations: 205.2 kB / 0.5314 GB, free: 7.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1575, allocations: 0 / 0.5314 GB, free: 7.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.1579, allocations: 75.83 kB / 0.5314 GB, free: 7.844 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 (7): * Single equations (assignments): 4 * 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.001246/0.1591, allocations: 0.8644 MB / 0.5323 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006466/0.1656, allocations: 0.585 MB / 0.5329 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1656, allocations: 3.938 kB / 0.5329 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00574/0.1713, allocations: 0.4916 MB / 0.5333 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.1718, allocations: 45.47 kB / 0.5334 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/0.1769, allocations: 2.997 MB / 0.5363 GB, free: 2.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.1771, allocations: 169.1 kB / 0.5365 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.1773, allocations: 49.92 kB / 0.5365 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.1774, allocations: 67.41 kB / 0.5366 GB, free: 2.43 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1774, allocations: 0 / 0.5366 GB, free: 2.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2382/0.4156, allocations: 9.189 MB / 0.5456 GB, free: 28.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.64, allocations: 7.812 kB / 0.5456 GB, free: 28.96 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.726576689979993] Failed to read output from testmodel.py, exit status != 0: ['time', 'eta[1]', 'eta[2]', 'eta[3]', 'rho[1]', 'rho[2]', 'rho[3]', '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.816742819035426 13.833727695 13.708140834 Calling exit ...