Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001274/0.001274, allocations: 116.9 kB / 18.49 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.001335/0.001335, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.473/1.473, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2322/0.2322, allocations: 46.92 MB / 357.7 MB, free: 10.17 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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.002382/0.002382, allocations: 75.88 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1197, allocations: 66.05 MB / 0.5562 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002996/0.1227, allocations: 1.785 MB / 0.5579 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1243, allocations: 1.013 MB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.1243, allocations: 0 / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.1246, allocations: 63.61 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1248, allocations: 63.64 kB / 0.559 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1251, allocations: 135.4 kB / 0.5592 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.1254, allocations: 210.9 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.1255, allocations: 17.69 kB / 0.5594 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1256, allocations: 91.52 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1258, allocations: 103.5 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1258, allocations: 8 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.1261, allocations: 211.7 kB / 0.5598 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.1262, allocations: 55.69 kB / 0.5598 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1263, allocations: 95.34 kB / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.1268, allocations: 306.7 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1268, allocations: 0 / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.1268, allocations: 4 kB / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1268, allocations: 0 / 0.5602 GB, free: 1.32 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.0008284/0.1276, allocations: 0.5375 MB / 0.5607 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1277, allocations: 12.03 kB / 0.5608 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.24e-05/0.1277, allocations: 8.625 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.494e-05/0.1278, allocations: 62.72 kB / 0.5608 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.1286, allocations: 132.6 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1289, allocations: 258.8 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1289, allocations: 20.8 kB / 0.5612 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.129, allocations: 19.94 kB / 0.5612 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.1297, allocations: 433.9 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1297, allocations: 0 / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.1297, allocations: 11.98 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.1298, allocations: 24.55 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.1305, allocations: 393.8 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.1325, allocations: 1.489 MB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1328, allocations: 90.5 kB / 0.5636 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.133, allocations: 48.75 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.133, allocations: 4.141 kB / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.133, allocations: 38.56 kB / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.133, allocations: 0 / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.000637/0.1337, allocations: 185.6 kB / 0.5639 GB, free: 13.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.1337, allocations: 55.41 kB / 0.5639 GB, free: 13.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.1341, allocations: 326.6 kB / 0.5642 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1341, allocations: 29.7 kB / 0.5643 GB, free: 12.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1342, allocations: 183.6 kB / 0.5644 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1343, allocations: 27.78 kB / 0.5645 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.1344, allocations: 45.66 kB / 0.5645 GB, free: 12.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1345, allocations: 334.8 kB / 0.5648 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.1347, allocations: 71.88 kB / 0.5649 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1349, allocations: 114 kB / 0.565 GB, free: 12.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1353, allocations: 195 kB / 0.5652 GB, free: 11.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.1353, allocations: 0 / 0.5652 GB, free: 11.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000534/0.1359, allocations: 240.5 kB / 0.5654 GB, free: 11.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1359, allocations: 8 kB / 0.5654 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1359, allocations: 80 / 0.5654 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1359, allocations: 8.188 kB / 0.5654 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.1374, allocations: 115.8 kB / 0.5655 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.1395, allocations: 1.844 MB / 0.5673 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.1398, allocations: 31.81 kB / 0.5674 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1398, allocations: 7.984 kB / 0.5674 GB, free: 9.57 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.0001705/0.14, allocations: 161.9 kB / 0.5675 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.14, allocations: 23.86 kB / 0.5676 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.1406, allocations: 195.2 kB / 0.5677 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1406, allocations: 0 / 0.5677 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1406, allocations: 4 kB / 0.5677 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1406, allocations: 0 / 0.5677 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.141, allocations: 293.3 kB / 0.568 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.141, allocations: 0 / 0.568 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.1422, allocations: 99.75 kB / 0.5681 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1422, allocations: 0 / 0.5681 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1422, allocations: 0 / 0.5681 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.1435, allocations: 1.793 MB / 0.5699 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1435, allocations: 0 / 0.5699 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.144, allocations: 271.6 kB / 0.5701 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.1441, allocations: 104.9 kB / 0.5702 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.1441, allocations: 0 / 0.5702 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1443, allocations: 7.984 kB / 0.5702 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.1444, allocations: 11.98 kB / 0.5703 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1444, allocations: 7.984 kB / 0.5703 GB, free: 6.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.1447, allocations: 241.9 kB / 0.5705 GB, free: 6.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1447, allocations: 4 kB / 0.5705 GB, free: 6.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.145, allocations: 67.89 kB / 0.5706 GB, free: 6.141 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.0008546/0.1459, allocations: 0.802 MB / 0.5713 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.1482, allocations: 251.8 kB / 0.5716 GB, free: 5.066 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1482, allocations: 4.125 kB / 0.5716 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.1491, allocations: 111.8 kB / 0.5717 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1495, allocations: 28.88 kB / 0.5717 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.1536, allocations: 2.916 MB / 0.5746 GB, free: 1.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.154, allocations: 0.7792 MB / 0.5753 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.1541, allocations: 54.25 kB / 0.5754 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1543, allocations: 63.42 kB / 0.5754 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1543, allocations: 4 kB / 0.5754 GB, free: 0.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.1807, allocations: 7.888 MB / 0.5831 GB, free: 9.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.27, allocations: 7.172 kB / 0.5832 GB, free: 9.316 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.583751244994346] 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.433946745004505 12.651636209 12.522063765 Calling exit ...