Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.001619/0.001619, allocations: 120 kB / 18.49 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.001486/0.001486, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.417/1.417, allocations: 230.5 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 75.88 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1194, allocations: 66.04 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003256/0.1227, allocations: 1.931 MB / 0.5581 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1246, allocations: 1.133 MB / 0.5592 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.1246, allocations: 4 kB / 0.5592 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1249, allocations: 71.58 kB / 0.5592 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.1251, allocations: 83.52 kB / 0.5593 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1255, allocations: 147.3 kB / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.1258, allocations: 266.4 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.1259, allocations: 28.73 kB / 0.5597 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.1261, allocations: 107.3 kB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1263, allocations: 127.3 kB / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1263, allocations: 8 kB / 0.56 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.1268, allocations: 319.5 kB / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.1269, allocations: 55.69 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.127, allocations: 119.2 kB / 0.5604 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.1275, allocations: 434.2 kB / 0.5609 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1275, allocations: 3.938 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1275, allocations: 0 / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1275, allocations: 0 / 0.5609 GB, free: 0.6797 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007362/0.1283, allocations: 0.577 MB / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1283, allocations: 16.03 kB / 0.5614 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.771e-05/0.1283, allocations: 9.188 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.251e-05/0.1284, allocations: 74.72 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.1285, allocations: 32.7 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1287, allocations: 239.8 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1288, allocations: 24.98 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.1288, allocations: 36 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.1295, allocations: 0.4896 MB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1295, allocations: 3.938 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.1296, allocations: 12 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.1296, allocations: 28.98 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/0.1303, allocations: 427.7 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.1318, allocations: 1.193 MB / 0.5639 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.132, allocations: 74.47 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1321, allocations: 40.83 kB / 0.564 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1321, allocations: 0 / 0.564 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1321, allocations: 34.56 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1321, allocations: 4 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004784/0.1326, allocations: 145.7 kB / 0.5642 GB, free: 13.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1327, allocations: 63.33 kB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1328, allocations: 167 kB / 0.5644 GB, free: 12.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1328, allocations: 25.7 kB / 0.5645 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.133, allocations: 223.9 kB / 0.5647 GB, free: 12.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.133, allocations: 31.73 kB / 0.5647 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.1331, allocations: 57.7 kB / 0.5648 GB, free: 12.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1332, allocations: 322.8 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1334, allocations: 51.95 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.1336, allocations: 174.8 kB / 0.5653 GB, free: 11.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.134, allocations: 247.9 kB / 0.5655 GB, free: 11.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.134, allocations: 4 kB / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004797/0.1345, allocations: 253.5 kB / 0.5658 GB, free: 11.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1345, allocations: 8 kB / 0.5658 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1345, allocations: 4 kB / 0.5658 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1345, allocations: 4 kB / 0.5658 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.1349, allocations: 91.84 kB / 0.5659 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.1359, allocations: 1.774 MB / 0.5676 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.1361, allocations: 35.77 kB / 0.5676 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1361, allocations: 12.39 kB / 0.5677 GB, free: 9.254 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002309/0.1363, allocations: 185.8 kB / 0.5678 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1364, allocations: 15.89 kB / 0.5678 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.1369, allocations: 194 kB / 0.568 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1369, allocations: 0 / 0.568 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1369, allocations: 0 / 0.568 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1369, allocations: 0 / 0.568 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.1372, allocations: 301.4 kB / 0.5683 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1372, allocations: 0 / 0.5683 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.1374, allocations: 63.97 kB / 0.5684 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1374, allocations: 4 kB / 0.5684 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1375, allocations: 11.94 kB / 0.5684 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.1385, allocations: 1.778 MB / 0.5701 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1385, allocations: 0 / 0.5701 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.1389, allocations: 211.5 kB / 0.5703 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.1389, allocations: 89 kB / 0.5704 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1389, allocations: 7.969 kB / 0.5704 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.139, allocations: 12.09 kB / 0.5704 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1391, allocations: 7.984 kB / 0.5704 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1391, allocations: 4 kB / 0.5704 GB, free: 6.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.662e-05/0.1392, allocations: 119.3 kB / 0.5706 GB, free: 6.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1392, allocations: 4 kB / 0.5706 GB, free: 6.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004139/0.1396, allocations: 99.56 kB / 0.5707 GB, free: 6.004 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.0007984/0.1404, allocations: 0.7942 MB / 0.5714 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005354/0.1409, allocations: 179.7 kB / 0.5716 GB, free: 5.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1409, allocations: 5.125 kB / 0.5716 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.1412, allocations: 83.89 kB / 0.5717 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1415, allocations: 12 kB / 0.5717 GB, free: 4.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.1441, allocations: 2.217 MB / 0.5739 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.1445, allocations: 0.7982 MB / 0.5746 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.1447, allocations: 65.14 kB / 0.5747 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1448, allocations: 79.41 kB / 0.5748 GB, free: 1.535 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1448, allocations: 0 / 0.5748 GB, free: 1.535 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.1683, allocations: 5.39 MB / 0.58 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.84, allocations: 12.19 kB / 0.5801 GB, free: 12.34 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.145790131995454] Failed to read output from testmodel.py, exit status != 0: ['time', 'A_cross', 'A_cross_nom', 'dp_nom', 'm_flow_nom', 'exp', 'NominalMassFlowRate', 'V_flow_nom', 'zeta_TOT', 'zeta_TOT_nom', 'rho_nom', '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'] 11.982777527999133 12.212379135 11.868316034 Calling exit ...