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_pressureLossCoefficient_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.001366/0.001366, allocations: 116.4 kB / 18.5 MB, free: 4.535 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.001761/0.001761, allocations: 212.9 kB / 21.46 MB, free: 1.586 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.452/1.452, allocations: 230.2 MB / 254.5 MB, free: 15.09 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.2273/0.2273, allocations: 46.88 MB / 357.4 MB, free: 10.49 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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.002255/0.002255, allocations: 75.88 kB / 0.4912 GB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1388, allocations: 65.99 MB / 0.5557 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002995/0.1418, allocations: 1.692 MB / 0.5573 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1433, allocations: 0.8491 MB / 0.5582 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.1433, allocations: 0 / 0.5582 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.1435, allocations: 35.83 kB / 0.5582 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.1437, allocations: 63.66 kB / 0.5583 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.144, allocations: 95.02 kB / 0.5583 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1443, allocations: 159.1 kB / 0.5585 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.1443, allocations: 12.88 kB / 0.5585 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.1445, allocations: 71.7 kB / 0.5586 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1446, allocations: 71.73 kB / 0.5586 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1446, allocations: 4 kB / 0.5586 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.145, allocations: 171.6 kB / 0.5588 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.145, allocations: 31.91 kB / 0.5588 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.1451, allocations: 63.61 kB / 0.5589 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.1454, allocations: 211.1 kB / 0.5591 GB, free: 2.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1454, allocations: 0 / 0.5591 GB, free: 2.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1454, allocations: 0 / 0.5591 GB, free: 2.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1454, allocations: 0 / 0.5591 GB, free: 2.867 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006473/0.1461, allocations: 466.6 kB / 0.5596 GB, free: 2.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1461, allocations: 15.97 kB / 0.5596 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.1462, allocations: 54.72 kB / 0.5596 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.1467, allocations: 60.78 kB / 0.5597 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1469, allocations: 212.2 kB / 0.5599 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1469, allocations: 16.31 kB / 0.5599 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.147, allocations: 15.92 kB / 0.5599 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.1474, allocations: 241.2 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1474, allocations: 0 / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1474, allocations: 12 kB / 0.5602 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.1475, allocations: 15.98 kB / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.1479, allocations: 219.8 kB / 0.5604 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1491, allocations: 0.7326 MB / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1493, allocations: 90.44 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1495, allocations: 48.81 kB / 0.5612 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.1495, allocations: 4 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1495, allocations: 34.5 kB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1495, allocations: 0 / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005052/0.15, allocations: 177.6 kB / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1501, allocations: 51.41 kB / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1503, allocations: 193.3 kB / 0.5617 GB, free: 0 / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1503, allocations: 29.7 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.1504, allocations: 127.8 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1504, allocations: 27.78 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.1505, allocations: 37.66 kB / 0.5619 GB, free: 15.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1506, allocations: 330.8 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1507, allocations: 51.94 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1509, allocations: 94.81 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.1512, allocations: 159 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1512, allocations: 4 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003886/0.1516, allocations: 189.3 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1516, allocations: 4 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1516, allocations: 7.984 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1517, allocations: 0 / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008949/0.1526, allocations: 92.06 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.1541, allocations: 1.813 MB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1542, allocations: 31.77 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.1542, allocations: 7.984 kB / 0.5646 GB, free: 12.87 MB / 430.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 (14): * Single equations (assignments): 11 * 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.0001393/0.1544, allocations: 145.9 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.1544, allocations: 19.88 kB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.1549, allocations: 171 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1549, allocations: 0 / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1549, allocations: 0 / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1549, allocations: 3.984 kB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1551, allocations: 229.5 kB / 0.5651 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1552, allocations: 3.938 kB / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.1559, allocations: 83.89 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1559, allocations: 0 / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1559, allocations: 8 kB / 0.5652 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.157, allocations: 1.778 MB / 0.5669 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.157, allocations: 0 / 0.5669 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.1574, allocations: 247.3 kB / 0.5672 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.1575, allocations: 96.94 kB / 0.5673 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1575, allocations: 0 / 0.5673 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1576, allocations: 4 kB / 0.5673 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1577, allocations: 16.08 kB / 0.5673 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1577, allocations: 7.984 kB / 0.5673 GB, free: 9.898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1578, allocations: 136.9 kB / 0.5674 GB, free: 9.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1578, allocations: 0 / 0.5674 GB, free: 9.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.1581, allocations: 51.83 kB / 0.5675 GB, free: 9.715 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 (11): * Single equations (assignments): 8 * 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.0007891/0.1589, allocations: 0.7945 MB / 0.5683 GB, free: 8.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.1601, allocations: 196.2 kB / 0.5684 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1601, allocations: 0 / 0.5684 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006778/0.1608, allocations: 95.77 kB / 0.5685 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.1613, allocations: 52.64 kB / 0.5686 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.164, allocations: 2.096 MB / 0.5706 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.1645, allocations: 0.7358 MB / 0.5714 GB, free: 5.578 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.1646, allocations: 41.28 kB / 0.5714 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.1646, allocations: 41.61 kB / 0.5714 GB, free: 5.5 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1646, allocations: 4 kB / 0.5714 GB, free: 5.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.194, allocations: 5.143 MB / 0.5765 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.88, allocations: 20.33 kB / 0.5765 GB, free: 0.5 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.851448127999902] Failed to read output from testmodel.py, exit status != 0: ['time', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[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'] 11.972371473908424 11.987151936 11.838259317 Calling exit ...