Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001382/0.001382, allocations: 118.3 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.001469/0.001469, allocations: 219 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.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.91 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001931/0.001931, allocations: 67.91 kB / 0.4886 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1314, allocations: 65.42 MB / 0.5525 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003943/0.1353, allocations: 1.848 MB / 0.5543 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1367, allocations: 0.6308 MB / 0.5549 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.1367, allocations: 4 kB / 0.5549 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.1371, allocations: 51.72 kB / 0.5549 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1373, allocations: 75.58 kB / 0.555 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.1378, allocations: 119.5 kB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1381, allocations: 234.8 kB / 0.5553 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.1382, allocations: 20.31 kB / 0.5554 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1383, allocations: 91.45 kB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1385, allocations: 99.53 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.1385, allocations: 8 kB / 0.5556 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.1389, allocations: 231.6 kB / 0.5558 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.139, allocations: 55.75 kB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1391, allocations: 95.36 kB / 0.5559 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.1395, allocations: 342.8 kB / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1395, allocations: 0 / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1395, allocations: 0 / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1396, allocations: 0 / 0.5562 GB, free: 6.238 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.0007487/0.1403, allocations: 0.5222 MB / 0.5568 GB, free: 5.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1403, allocations: 8.031 kB / 0.5568 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.214e-05/0.1404, allocations: 12.75 kB / 0.5568 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.784e-05/0.1404, allocations: 66.7 kB / 0.5568 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.1423, allocations: 204.4 kB / 0.557 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.1426, allocations: 268 kB / 0.5573 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1427, allocations: 16.94 kB / 0.5573 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.1427, allocations: 28.36 kB / 0.5573 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.1438, allocations: 0.4926 MB / 0.5578 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1438, allocations: 3.938 kB / 0.5578 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.1438, allocations: 15.98 kB / 0.5578 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.1439, allocations: 24.55 kB / 0.5579 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.1453, allocations: 0.5876 MB / 0.5584 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.1476, allocations: 1.177 MB / 0.5596 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.1483, allocations: 162.4 kB / 0.5597 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.1487, allocations: 80.75 kB / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.1487, allocations: 0 / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.1488, allocations: 42.56 kB / 0.5599 GB, free: 2.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1488, allocations: 0 / 0.5599 GB, free: 2.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001356/0.1501, allocations: 305.3 kB / 0.5601 GB, free: 2.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1502, allocations: 55.41 kB / 0.5602 GB, free: 1.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1505, allocations: 274.6 kB / 0.5605 GB, free: 1.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1505, allocations: 25.7 kB / 0.5605 GB, free: 1.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1506, allocations: 171.7 kB / 0.5606 GB, free: 1.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.1507, allocations: 23.78 kB / 0.5607 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.875e-05/0.1508, allocations: 41.69 kB / 0.5607 GB, free: 1.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1509, allocations: 334.8 kB / 0.561 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.1513, allocations: 87.89 kB / 0.5611 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.1517, allocations: 123.3 kB / 0.5612 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.1525, allocations: 207.2 kB / 0.5614 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1525, allocations: 0 / 0.5614 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009549/0.1535, allocations: 265.2 kB / 0.5617 GB, free: 384 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1535, allocations: 10.19 kB / 0.5617 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1535, allocations: 0 / 0.5617 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1535, allocations: 0 / 0.5617 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006078/0.1596, allocations: 475.5 kB / 0.5621 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.1626, allocations: 1.946 MB / 0.564 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.163, allocations: 39.78 kB / 0.5641 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.1631, allocations: 15.98 kB / 0.5641 GB, free: 13.83 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.0002053/0.1633, allocations: 167.9 kB / 0.5643 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.1633, allocations: 23.86 kB / 0.5643 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.1634, allocations: 29.69 kB / 0.5643 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1634, allocations: 0 / 0.5643 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1634, allocations: 0 / 0.5643 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1634, allocations: 3.938 kB / 0.5643 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.1638, allocations: 289.4 kB / 0.5646 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1638, allocations: 0 / 0.5646 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005889/0.1697, allocations: 463.3 kB / 0.565 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1697, allocations: 0 / 0.565 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1697, allocations: 7.984 kB / 0.565 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/0.1728, allocations: 1.945 MB / 0.5669 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1728, allocations: 0 / 0.5669 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009305/0.1737, allocations: 323.2 kB / 0.5672 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1738, allocations: 96.97 kB / 0.5673 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.1739, allocations: 0 / 0.5673 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.1742, allocations: 19.97 kB / 0.5674 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.1743, allocations: 19.91 kB / 0.5674 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1743, allocations: 7.984 kB / 0.5674 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1746, allocations: 205.9 kB / 0.5676 GB, free: 10.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1746, allocations: 0 / 0.5676 GB, free: 10.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.1749, allocations: 71.89 kB / 0.5676 GB, free: 10.03 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.001402/0.1763, allocations: 0.876 MB / 0.5685 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006269/0.1826, allocations: 0.585 MB / 0.5691 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1826, allocations: 0 / 0.5691 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005672/0.1883, allocations: 495.4 kB / 0.5695 GB, free: 8.055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.1888, allocations: 52.61 kB / 0.5696 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.1941, allocations: 2.979 MB / 0.5725 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.1946, allocations: 0.7753 MB / 0.5733 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.1947, allocations: 57.84 kB / 0.5733 GB, free: 4.066 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1949, allocations: 67.41 kB / 0.5734 GB, free: 4 MB / 430.1 MB Notification: Performance of SimCode: time 1.123e-06/0.1949, allocations: 0 / 0.5734 GB, free: 4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.2219, allocations: 8.03 MB / 0.5812 GB, free: 12.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.47, allocations: 18.64 kB / 0.5812 GB, free: 12.25 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.85365374200046] 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.629539827001281 12.88864536 12.513328667 Calling exit ...