Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.001871/0.001871, allocations: 116.2 kB / 18.49 MB, free: 4.426 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.002184/0.002184, allocations: 222.9 kB / 21.46 MB, free: 1.469 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.456/1.456, allocations: 230.6 MB / 254.8 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2325/0.2325, allocations: 46.93 MB / 357.8 MB, free: 10.28 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+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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.91 kB / 0.4916 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1348, allocations: 66 MB / 0.5561 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.00317/0.138, allocations: 1.786 MB / 0.5578 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1397, allocations: 1.02 MB / 0.5588 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.1397, allocations: 3.938 kB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.14, allocations: 59.67 kB / 0.5589 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1402, allocations: 63.59 kB / 0.5589 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1406, allocations: 119.5 kB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.1409, allocations: 218.9 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.1409, allocations: 17.69 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.141, allocations: 95.5 kB / 0.5594 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1412, allocations: 99.53 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1412, allocations: 8 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.1416, allocations: 207.7 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1417, allocations: 55.7 kB / 0.5597 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1418, allocations: 99.33 kB / 0.5598 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.1423, allocations: 306.7 kB / 0.5601 GB, free: 1.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1423, allocations: 0 / 0.5601 GB, free: 1.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1423, allocations: 0 / 0.5601 GB, free: 1.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1423, allocations: 0 / 0.5601 GB, free: 1.621 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009011/0.1432, allocations: 0.5376 MB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1432, allocations: 16.02 kB / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.902e-05/0.1433, allocations: 8.625 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.1433, allocations: 58.72 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/0.1442, allocations: 136.6 kB / 0.5609 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.1446, allocations: 259.9 kB / 0.5611 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1446, allocations: 20.8 kB / 0.5611 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.1447, allocations: 19.94 kB / 0.5611 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.1454, allocations: 433.9 kB / 0.5616 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1454, allocations: 4 kB / 0.5616 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.1454, allocations: 8 kB / 0.5616 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/0.1455, allocations: 24.61 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.1462, allocations: 397.7 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.1485, allocations: 1.489 MB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1487, allocations: 82.52 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1489, allocations: 52.75 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1489, allocations: 0 / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1489, allocations: 42.56 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1489, allocations: 0 / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006696/0.1496, allocations: 189.7 kB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1497, allocations: 59.34 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.1501, allocations: 330.6 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1501, allocations: 29.7 kB / 0.5642 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1502, allocations: 179.6 kB / 0.5643 GB, free: 13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.1503, allocations: 27.78 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.1504, allocations: 45.66 kB / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1506, allocations: 334.8 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1507, allocations: 67.94 kB / 0.5648 GB, free: 12.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.151, allocations: 111.5 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.1514, allocations: 197.2 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1514, allocations: 0 / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005765/0.152, allocations: 237.2 kB / 0.5653 GB, free: 11.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.152, allocations: 8 kB / 0.5653 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.152, allocations: 0 / 0.5653 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.152, allocations: 8.188 kB / 0.5653 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.1536, allocations: 119.8 kB / 0.5654 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.1557, allocations: 1.84 MB / 0.5672 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.156, allocations: 35.8 kB / 0.5673 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1561, allocations: 4 kB / 0.5673 GB, free: 9.859 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0002271/0.1563, allocations: 160 kB / 0.5674 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.1564, allocations: 27.86 kB / 0.5675 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.157, allocations: 203 kB / 0.5677 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.157, allocations: 4 kB / 0.5677 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.157, allocations: 4 kB / 0.5677 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.157, allocations: 0 / 0.5677 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.1573, allocations: 285.4 kB / 0.5679 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1573, allocations: 0 / 0.5679 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.1585, allocations: 95.86 kB / 0.568 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1585, allocations: 0 / 0.568 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1585, allocations: 0 / 0.568 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.1599, allocations: 1.797 MB / 0.5698 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1599, allocations: 3.984 kB / 0.5698 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.1603, allocations: 267.5 kB / 0.57 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.1604, allocations: 104.9 kB / 0.5701 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1605, allocations: 0 / 0.5701 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1607, allocations: 11.98 kB / 0.5702 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.1607, allocations: 7.984 kB / 0.5702 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1608, allocations: 0 / 0.5702 GB, free: 6.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002702/0.161, allocations: 245.9 kB / 0.5704 GB, free: 6.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.161, allocations: 4 kB / 0.5704 GB, free: 6.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.1614, allocations: 67.89 kB / 0.5705 GB, free: 6.43 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.0008819/0.1623, allocations: 0.8097 MB / 0.5713 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.1645, allocations: 247.9 kB / 0.5715 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1645, allocations: 4.125 kB / 0.5715 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009587/0.1655, allocations: 107.8 kB / 0.5716 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1659, allocations: 44.75 kB / 0.5716 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.1699, allocations: 2.902 MB / 0.5745 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1703, allocations: 0.7792 MB / 0.5752 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.1704, allocations: 54.25 kB / 0.5753 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.1706, allocations: 67.42 kB / 0.5754 GB, free: 1.246 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1706, allocations: 0 / 0.5754 GB, free: 1.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.1977, allocations: 7.889 MB / 0.5831 GB, free: 9.641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.55, allocations: 3.938 kB / 0.5831 GB, free: 9.637 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.990500856016297] Failed to read output from testmodel.py, exit status != 0: ['time', 'frac_KmToRs[1]', 'frac_KmToRs[2]', 'frac_KmToRs[3]', 'dp_nom[1]', 'dp_nom[2]', 'dp_nom[3]', 'p_2[1]', 'p_2[2]', 'p_2[3]', 'm_flow_nom[1]', 'm_flow_nom[2]', 'm_flow_nom[3]', 'Km[1]', 'Km[2]', 'Km[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.702709249977488 12.951107047 12.805895831 Calling exit ...