Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.001503/0.001503, allocations: 109 kB / 20.48 MB, free: 1.492 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.00164/0.00164, allocations: 213.8 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2449/0.2449, allocations: 44.25 MB / 331.1 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003304/0.003304, allocations: 71.84 kB / 468.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1605, allocations: 61.04 MB / 0.5169 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003332/0.1638, allocations: 1.856 MB / 0.5187 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1651, allocations: 0.6308 MB / 0.5194 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.1651, allocations: 0 / 0.5194 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1654, allocations: 59.61 kB / 0.5194 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1656, allocations: 75.56 kB / 0.5195 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.166, allocations: 127.5 kB / 0.5196 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.1663, allocations: 230.7 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.535e-05/0.1664, allocations: 16.58 kB / 0.5199 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1665, allocations: 87.58 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1667, allocations: 107.4 kB / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1667, allocations: 8 kB / 0.52 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1671, allocations: 231.7 kB / 0.5203 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.183e-05/0.1672, allocations: 51.77 kB / 0.5203 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1673, allocations: 103.3 kB / 0.5204 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.1678, allocations: 330.6 kB / 0.5207 GB, free: 3.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1678, allocations: 4 kB / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1678, allocations: 0 / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1678, allocations: 0 / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.000725/0.1686, allocations: 457.6 kB / 0.5212 GB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1686, allocations: 8.031 kB / 0.5212 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.198e-05/0.1686, allocations: 12.69 kB / 0.5212 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.1687, allocations: 66.7 kB / 0.5213 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.1705, allocations: 200.4 kB / 0.5214 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1709, allocations: 218.1 kB / 0.5217 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.1709, allocations: 16.88 kB / 0.5217 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.171, allocations: 24.36 kB / 0.5217 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.1721, allocations: 0.4967 MB / 0.5222 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1721, allocations: 0 / 0.5222 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.1721, allocations: 11.98 kB / 0.5222 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.1722, allocations: 32.62 kB / 0.5222 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.1735, allocations: 0.5879 MB / 0.5228 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.1759, allocations: 1.131 MB / 0.5239 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/0.1767, allocations: 162.4 kB / 0.5241 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.1771, allocations: 84.75 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1771, allocations: 4 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1772, allocations: 38.56 kB / 0.5242 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.1772, allocations: 0 / 0.5242 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.00147/0.1786, allocations: 309.3 kB / 0.5245 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.1787, allocations: 55.41 kB / 0.5245 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.179, allocations: 277.8 kB / 0.5248 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1791, allocations: 25.7 kB / 0.5248 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1792, allocations: 171.7 kB / 0.525 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1792, allocations: 23.78 kB / 0.525 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1793, allocations: 41.69 kB / 0.525 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1795, allocations: 334.8 kB / 0.5254 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.1799, allocations: 91.89 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.1803, allocations: 119.3 kB / 0.5256 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.1811, allocations: 203.2 kB / 0.5258 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1811, allocations: 0 / 0.5258 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009231/0.182, allocations: 269.2 kB / 0.526 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.182, allocations: 8 kB / 0.526 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.182, allocations: 0 / 0.526 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.182, allocations: 4 kB / 0.526 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006004/0.188, allocations: 471.3 kB / 0.5265 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.1911, allocations: 1.949 MB / 0.5284 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.1916, allocations: 35.75 kB / 0.5284 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.1916, allocations: 16.08 kB / 0.5284 GB, free: 11.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002502/0.1918, allocations: 165.6 kB / 0.5286 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.1919, allocations: 23.86 kB / 0.5286 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.192, allocations: 25.7 kB / 0.5286 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.192, allocations: 0 / 0.5286 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.192, allocations: 0 / 0.5286 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.192, allocations: 0 / 0.5286 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1924, allocations: 260.5 kB / 0.5289 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1924, allocations: 8 kB / 0.5289 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005886/0.1983, allocations: 463.2 kB / 0.5293 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1983, allocations: 0 / 0.5293 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.1983, allocations: 3.984 kB / 0.5293 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.2013, allocations: 1.941 MB / 0.5312 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2013, allocations: 0 / 0.5312 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.2022, allocations: 327.2 kB / 0.5315 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.2022, allocations: 15.86 kB / 0.5316 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.2023, allocations: 0 / 0.5316 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.2026, allocations: 23.97 kB / 0.5316 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.2027, allocations: 15.91 kB / 0.5316 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.2027, allocations: 11.92 kB / 0.5316 GB, free: 7.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.203, allocations: 205.2 kB / 0.5318 GB, free: 7.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.203, allocations: 0 / 0.5318 GB, free: 7.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003909/0.2034, allocations: 75.83 kB / 0.5319 GB, free: 7.531 MB / 414.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.001288/0.2046, allocations: 0.8567 MB / 0.5327 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006157/0.2108, allocations: 0.5889 MB / 0.5333 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2108, allocations: 0 / 0.5333 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005675/0.2165, allocations: 499.3 kB / 0.5338 GB, free: 5.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.2169, allocations: 53.58 kB / 0.5338 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.2222, allocations: 2.994 MB / 0.5367 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.2227, allocations: 0.7792 MB / 0.5375 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.2229, allocations: 49.91 kB / 0.5375 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.223, allocations: 67.41 kB / 0.5376 GB, free: 1.5 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.223, allocations: 4 kB / 0.5376 GB, free: 1.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2417/0.4647, allocations: 8.066 MB / 0.5455 GB, free: 28.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.68, allocations: 13.23 kB / 0.5455 GB, free: 28.97 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.75945109501481] Failed to read output from testmodel.py, exit status != 0: ['time', 'eta[1]', 'eta[2]', 'eta[3]', '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'] 13.857928287994582 13.872573972 13.701470197 Calling exit ...