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_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.001333/0.001333, allocations: 113 kB / 18.49 MB, free: 4.539 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.001372/0.001372, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.511/1.511, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2132/0.2132, allocations: 44.91 MB / 355.8 MB, free: 12.31 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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001952/0.001952, allocations: 63.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1229, allocations: 65.43 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003391/0.1263, allocations: 1.79 MB / 0.5542 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1281, allocations: 1.02 MB / 0.5552 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1281, allocations: 4 kB / 0.5552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1284, allocations: 55.67 kB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1287, allocations: 59.66 kB / 0.5553 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.129, allocations: 131.5 kB / 0.5554 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.1294, allocations: 214.8 kB / 0.5557 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.254e-05/0.1294, allocations: 13.69 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1295, allocations: 99.5 kB / 0.5558 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1297, allocations: 99.53 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1298, allocations: 4 kB / 0.5559 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.1301, allocations: 219.6 kB / 0.5561 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1303, allocations: 51.77 kB / 0.5561 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1304, allocations: 95.34 kB / 0.5562 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.1309, allocations: 303 kB / 0.5565 GB, free: 5.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1309, allocations: 0 / 0.5565 GB, free: 5.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1309, allocations: 3.938 kB / 0.5565 GB, free: 5.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1309, allocations: 0 / 0.5565 GB, free: 5.957 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.0009793/0.1319, allocations: 0.5492 MB / 0.557 GB, free: 5.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1319, allocations: 8.031 kB / 0.557 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.931e-05/0.1319, allocations: 4.625 kB / 0.557 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.069e-05/0.132, allocations: 58.73 kB / 0.5571 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009063/0.1329, allocations: 132.6 kB / 0.5572 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1333, allocations: 262.1 kB / 0.5575 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1333, allocations: 16.81 kB / 0.5575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.1333, allocations: 23.94 kB / 0.5575 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006985/0.134, allocations: 433.9 kB / 0.5579 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.134, allocations: 0 / 0.5579 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.1341, allocations: 15.98 kB / 0.5579 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.1341, allocations: 28.53 kB / 0.558 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.1348, allocations: 389.9 kB / 0.5583 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.1369, allocations: 1.481 MB / 0.5598 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1371, allocations: 106.4 kB / 0.5599 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.1373, allocations: 52.75 kB / 0.5599 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1373, allocations: 7.938 kB / 0.56 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1373, allocations: 30.56 kB / 0.56 GB, free: 2.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1373, allocations: 0 / 0.56 GB, free: 2.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006238/0.138, allocations: 189.4 kB / 0.5602 GB, free: 1.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.138, allocations: 55.34 kB / 0.5602 GB, free: 1.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.1384, allocations: 334.7 kB / 0.5605 GB, free: 1.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1384, allocations: 29.7 kB / 0.5606 GB, free: 1.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1385, allocations: 183.7 kB / 0.5607 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.1386, allocations: 23.8 kB / 0.5608 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.1387, allocations: 45.66 kB / 0.5608 GB, free: 1.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1388, allocations: 330.8 kB / 0.5611 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.139, allocations: 67.94 kB / 0.5612 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.1392, allocations: 117.9 kB / 0.5613 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.1396, allocations: 185.8 kB / 0.5615 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.1396, allocations: 4 kB / 0.5615 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005426/0.1402, allocations: 237.4 kB / 0.5617 GB, free: 280 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1402, allocations: 8 kB / 0.5617 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1402, allocations: 4 kB / 0.5617 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1402, allocations: 0 / 0.5617 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.1418, allocations: 115.8 kB / 0.5618 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.1439, allocations: 1.844 MB / 0.5636 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.1442, allocations: 35.7 kB / 0.5637 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.1443, allocations: 8 kB / 0.5637 GB, free: 14.19 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.0001823/0.1444, allocations: 164 kB / 0.5638 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1445, allocations: 23.86 kB / 0.5638 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/0.1451, allocations: 199.1 kB / 0.564 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1451, allocations: 0 / 0.564 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1451, allocations: 0 / 0.564 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1451, allocations: 7.984 kB / 0.564 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.1454, allocations: 277.4 kB / 0.5643 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1454, allocations: 0 / 0.5643 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.1466, allocations: 95.81 kB / 0.5644 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.1467, allocations: 7.984 kB / 0.5644 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1467, allocations: 0 / 0.5644 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.148, allocations: 1.789 MB / 0.5662 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.148, allocations: 4.281 kB / 0.5662 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.1485, allocations: 263.3 kB / 0.5664 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.1486, allocations: 104.9 kB / 0.5665 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1486, allocations: 0 / 0.5665 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1488, allocations: 4 kB / 0.5665 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.1489, allocations: 11.98 kB / 0.5665 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1489, allocations: 15.94 kB / 0.5665 GB, free: 11.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002796/0.1492, allocations: 245.9 kB / 0.5668 GB, free: 10.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1492, allocations: 0 / 0.5668 GB, free: 10.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.1495, allocations: 67.89 kB / 0.5668 GB, free: 10.77 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.0008715/0.1504, allocations: 0.8098 MB / 0.5676 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.1527, allocations: 255.1 kB / 0.5679 GB, free: 9.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1527, allocations: 0 / 0.5679 GB, free: 9.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009748/0.1537, allocations: 103.8 kB / 0.568 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.154, allocations: 44.42 kB / 0.568 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.1579, allocations: 2.915 MB / 0.5709 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1584, allocations: 0.7792 MB / 0.5716 GB, free: 5.695 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.1585, allocations: 54.19 kB / 0.5717 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1586, allocations: 71.41 kB / 0.5717 GB, free: 5.574 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1586, allocations: 0 / 0.5717 GB, free: 5.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.1855, allocations: 7.876 MB / 0.5794 GB, free: 13.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.73, allocations: 10.81 kB / 0.5794 GB, free: 13.97 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.892408995016012] 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.882385923003312 12.906745318 12.772239485 Calling exit ...