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_idealGas_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.001382/0.001382, allocations: 116.5 kB / 18.5 MB, free: 4.566 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.001361/0.001361, allocations: 212.9 kB / 21.46 MB, free: 1.605 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.465/1.465, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2572/0.2572, allocations: 46.88 MB / 357.4 MB, free: 10.54 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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.002248/0.002248, allocations: 80.55 kB / 0.4912 GB, free: 26.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 65.97 MB / 0.5557 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003262/0.1325, allocations: 1.808 MB / 0.5574 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1343, allocations: 1.013 MB / 0.5584 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.1344, allocations: 0 / 0.5584 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1347, allocations: 59.72 kB / 0.5585 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1349, allocations: 67.59 kB / 0.5585 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.1352, allocations: 119.5 kB / 0.5587 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.1355, allocations: 214.8 kB / 0.5589 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.1356, allocations: 29.59 kB / 0.5589 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1357, allocations: 83.59 kB / 0.559 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1359, allocations: 107.5 kB / 0.5591 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1359, allocations: 8 kB / 0.5591 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.1362, allocations: 203.7 kB / 0.5593 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.647e-05/0.1363, allocations: 59.69 kB / 0.5593 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1364, allocations: 91.36 kB / 0.5594 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.1368, allocations: 299 kB / 0.5597 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1368, allocations: 0 / 0.5597 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1368, allocations: 7.938 kB / 0.5597 GB, free: 4.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1369, allocations: 0 / 0.5597 GB, free: 4.988 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.000945/0.1378, allocations: 0.5453 MB / 0.5602 GB, free: 4.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1378, allocations: 8.031 kB / 0.5603 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.844e-05/0.1379, allocations: 66.66 kB / 0.5603 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/0.1387, allocations: 132.6 kB / 0.5604 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.1391, allocations: 254.4 kB / 0.5607 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1391, allocations: 12.81 kB / 0.5607 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.1392, allocations: 40.09 kB / 0.5607 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.1399, allocations: 425.9 kB / 0.5611 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1399, allocations: 0 / 0.5611 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.1399, allocations: 11.98 kB / 0.5612 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.14, allocations: 32.55 kB / 0.5612 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.1406, allocations: 393.8 kB / 0.5616 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.1428, allocations: 1.489 MB / 0.563 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.143, allocations: 94.5 kB / 0.5631 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1431, allocations: 52.77 kB / 0.5632 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1432, allocations: 7.922 kB / 0.5632 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1432, allocations: 30.56 kB / 0.5632 GB, free: 1.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1432, allocations: 0 / 0.5632 GB, free: 1.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005534/0.1437, allocations: 193.5 kB / 0.5634 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1438, allocations: 51.41 kB / 0.5634 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.1441, allocations: 330.7 kB / 0.5637 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1442, allocations: 25.7 kB / 0.5638 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.1443, allocations: 183.6 kB / 0.5639 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1443, allocations: 23.8 kB / 0.564 GB, free: 352 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.1444, allocations: 37.66 kB / 0.564 GB, free: 308 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1446, allocations: 338.8 kB / 0.5643 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.1448, allocations: 67.94 kB / 0.5644 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.145, allocations: 121.9 kB / 0.5645 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.1454, allocations: 177.9 kB / 0.5647 GB, free: 15.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1454, allocations: 0 / 0.5647 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005148/0.1459, allocations: 249.2 kB / 0.5649 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1459, allocations: 4 kB / 0.5649 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1459, allocations: 4 kB / 0.5649 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1459, allocations: 3.938 kB / 0.5649 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.1474, allocations: 111.8 kB / 0.565 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.1496, allocations: 1.844 MB / 0.5668 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.1499, allocations: 39.7 kB / 0.5669 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.1499, allocations: 12 kB / 0.5669 GB, free: 13.22 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.0001966/0.1501, allocations: 157.7 kB / 0.567 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.1502, allocations: 19.86 kB / 0.567 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.1507, allocations: 207.1 kB / 0.5672 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1507, allocations: 0 / 0.5672 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1507, allocations: 0 / 0.5672 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1507, allocations: 0 / 0.5672 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.151, allocations: 277.4 kB / 0.5675 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.1511, allocations: 3.984 kB / 0.5675 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.1523, allocations: 99.88 kB / 0.5676 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1523, allocations: 0 / 0.5676 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1523, allocations: 4 kB / 0.5676 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.1537, allocations: 1.789 MB / 0.5694 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1537, allocations: 0 / 0.5694 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.1541, allocations: 259.2 kB / 0.5696 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.1542, allocations: 104.9 kB / 0.5697 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.1543, allocations: 4 kB / 0.5697 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.1545, allocations: 16.08 kB / 0.5697 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.1545, allocations: 4 kB / 0.5697 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1545, allocations: 8 kB / 0.5697 GB, free: 10.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002886/0.1548, allocations: 245.9 kB / 0.57 GB, free: 9.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1548, allocations: 0 / 0.57 GB, free: 9.879 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1552, allocations: 67.89 kB / 0.57 GB, free: 9.812 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.0009121/0.1561, allocations: 0.8098 MB / 0.5708 GB, free: 8.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.1584, allocations: 244 kB / 0.5711 GB, free: 8.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1584, allocations: 0 / 0.5711 GB, free: 8.738 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009574/0.1593, allocations: 115.7 kB / 0.5712 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1597, allocations: 57.45 kB / 0.5712 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.1637, allocations: 2.906 MB / 0.5741 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.1641, allocations: 0.7792 MB / 0.5748 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.1643, allocations: 50.27 kB / 0.5749 GB, free: 4.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.1644, allocations: 71.41 kB / 0.5749 GB, free: 4.613 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1644, allocations: 0 / 0.5749 GB, free: 4.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.1983, allocations: 7.855 MB / 0.5826 GB, free: 13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.19, allocations: 7.953 kB / 0.5826 GB, free: 12.99 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_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-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.20144827105105] 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.286772487685084 12.309898758 12.168873451 Calling exit ...