Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 117.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002072/0.002072, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2245/0.2245, allocations: 46.89 MB / 357.4 MB, free: 10.52 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 75.88 kB / 0.4912 GB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1286, allocations: 65.98 MB / 0.5557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003233/0.1318, allocations: 1.844 MB / 0.5575 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1329, allocations: 0.6347 MB / 0.5581 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.133, allocations: 4 kB / 0.5581 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.1333, allocations: 47.67 kB / 0.5581 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1334, allocations: 75.59 kB / 0.5582 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.1338, allocations: 119.5 kB / 0.5583 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.1341, allocations: 226.8 kB / 0.5586 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.1341, allocations: 24.31 kB / 0.5586 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1342, allocations: 91.44 kB / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1344, allocations: 119.4 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1344, allocations: 4 kB / 0.5588 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.1348, allocations: 219.8 kB / 0.559 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.1349, allocations: 51.75 kB / 0.559 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.135, allocations: 103.2 kB / 0.5591 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1354, allocations: 322.7 kB / 0.5594 GB, free: 2.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1354, allocations: 0 / 0.5594 GB, free: 2.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1354, allocations: 0 / 0.5594 GB, free: 2.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1354, allocations: 4 kB / 0.5594 GB, free: 2.523 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007344/0.1362, allocations: 0.5377 MB / 0.56 GB, free: 1.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1362, allocations: 12.03 kB / 0.56 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/0.1363, allocations: 58.73 kB / 0.56 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.1381, allocations: 208.4 kB / 0.5602 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.1385, allocations: 267.4 kB / 0.5605 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1385, allocations: 20.92 kB / 0.5605 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.1386, allocations: 20.38 kB / 0.5605 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009669/0.1395, allocations: 0.5006 MB / 0.561 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1395, allocations: 3.938 kB / 0.561 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.1396, allocations: 12 kB / 0.561 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.1396, allocations: 32.53 kB / 0.5611 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1409, allocations: 0.5759 MB / 0.5616 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.1432, allocations: 1.177 MB / 0.5628 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.1438, allocations: 170.4 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.1441, allocations: 92.86 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1442, allocations: 3.984 kB / 0.563 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1442, allocations: 34.56 kB / 0.5631 GB, free: 14.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.1442, allocations: 0 / 0.5631 GB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001174/0.1454, allocations: 297.2 kB / 0.5634 GB, free: 14.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.1454, allocations: 55.41 kB / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.1457, allocations: 290.5 kB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1457, allocations: 25.7 kB / 0.5637 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1459, allocations: 163.7 kB / 0.5639 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1459, allocations: 31.77 kB / 0.5639 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/0.146, allocations: 37.69 kB / 0.5639 GB, free: 13.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1462, allocations: 334.8 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.1465, allocations: 91.84 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.1469, allocations: 119.3 kB / 0.5645 GB, free: 13.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.1476, allocations: 215.1 kB / 0.5647 GB, free: 12.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1476, allocations: 0 / 0.5647 GB, free: 12.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008145/0.1484, allocations: 265.3 kB / 0.5649 GB, free: 12.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1484, allocations: 8 kB / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1484, allocations: 0 / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1484, allocations: 0 / 0.5649 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005998/0.1544, allocations: 459.4 kB / 0.5654 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.1574, allocations: 1.949 MB / 0.5673 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.1578, allocations: 43.97 kB / 0.5673 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1578, allocations: 7.984 kB / 0.5673 GB, free: 10.11 MB / 430.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.0002117/0.1581, allocations: 161.7 kB / 0.5675 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.1581, allocations: 23.84 kB / 0.5675 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.372e-05/0.1582, allocations: 29.66 kB / 0.5675 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1582, allocations: 3.984 kB / 0.5675 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1582, allocations: 0 / 0.5675 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1582, allocations: 4 kB / 0.5675 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1586, allocations: 293.4 kB / 0.5678 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1586, allocations: 0 / 0.5678 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005833/0.1645, allocations: 447.3 kB / 0.5682 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.1645, allocations: 4 kB / 0.5682 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.1645, allocations: 3.984 kB / 0.5682 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.1675, allocations: 1.945 MB / 0.5701 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1675, allocations: 8 kB / 0.5701 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/0.1683, allocations: 323.2 kB / 0.5705 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1684, allocations: 96.97 kB / 0.5705 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.1685, allocations: 3.984 kB / 0.5705 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.1688, allocations: 15.97 kB / 0.5706 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.1689, allocations: 7.984 kB / 0.5706 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.1689, allocations: 15.92 kB / 0.5706 GB, free: 6.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1691, allocations: 209.9 kB / 0.5708 GB, free: 6.379 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1691, allocations: 4 kB / 0.5708 GB, free: 6.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1695, allocations: 67.89 kB / 0.5709 GB, free: 6.309 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 (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.001252/0.1707, allocations: 0.8683 MB / 0.5717 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006327/0.1771, allocations: 0.5889 MB / 0.5723 GB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1771, allocations: 0 / 0.5723 GB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0056/0.1827, allocations: 495.4 kB / 0.5727 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.1832, allocations: 53.2 kB / 0.5728 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/0.1884, allocations: 2.976 MB / 0.5757 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.1888, allocations: 0.7792 MB / 0.5765 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.189, allocations: 53.86 kB / 0.5765 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.1892, allocations: 67.41 kB / 0.5766 GB, free: 300 kB / 430.1 MB Notification: Performance of SimCode: time 1.402e-06/0.1892, allocations: 3.938 kB / 0.5766 GB, free: 296 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.2232, allocations: 7.994 MB / 0.5844 GB, free: 8.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.26, allocations: 28.12 kB / 0.5844 GB, free: 8.43 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.393843764904886] 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'] 12.35283398674801 12.580578022 12.442683795 Calling exit ...