Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 188.9 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9108/0.9108, allocations: 134 MB / 440.3 MB, free: 244 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 64.72 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1975, allocations: 84.73 MB / 0.6935 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6355/0.833, allocations: 168.3 MB / 0.8578 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009637/0.8427, allocations: 6.627 MB / 0.8643 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.8435, allocations: 15.88 kB / 0.8643 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009301/0.8445, allocations: 170.7 kB / 0.8645 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.8475, allocations: 0.8908 MB / 0.8653 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.8486, allocations: 335.3 kB / 0.8656 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.8498, allocations: 0.7407 MB / 0.8664 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.8503, allocations: 218.6 kB / 0.8666 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.8518, allocations: 0.5799 MB / 0.8671 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/0.8523, allocations: 286.9 kB / 0.8674 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.8524, allocations: 20 kB / 0.8674 GB, free: 268 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008458/0.8532, allocations: 371.1 kB / 0.8678 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.8534, allocations: 111.6 kB / 0.8679 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.8537, allocations: 167.1 kB / 0.8681 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.8548, allocations: 489.7 kB / 0.8685 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.8548, allocations: 0 / 0.8685 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8548, allocations: 3.938 kB / 0.8685 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.8548, allocations: 0 / 0.8685 GB, free: 15.14 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001329/0.8561, allocations: 0.5477 MB / 0.8691 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8562, allocations: 12.03 kB / 0.8691 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.8566, allocations: 67.66 kB / 0.8691 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.8573, allocations: 259.5 kB / 0.8694 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.8573, allocations: 28.64 kB / 0.8694 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.8573, allocations: 24 kB / 0.8694 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.858, allocations: 316.9 kB / 0.8697 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.858, allocations: 0 / 0.8697 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.8581, allocations: 12 kB / 0.8698 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.8581, allocations: 8 kB / 0.8698 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.8586, allocations: 205.5 kB / 0.87 GB, free: 13.59 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.8606, allocations: 1.5 MB / 0.8714 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.8609, allocations: 114.5 kB / 0.8715 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.8611, allocations: 91.23 kB / 0.8716 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005414/0.8617, allocations: 67.92 kB / 0.8717 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.8617, allocations: 38.5 kB / 0.8717 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.8617, allocations: 0 / 0.8717 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0009869/0.8627, allocations: 269.7 kB / 0.872 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.8628, allocations: 55.41 kB / 0.872 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.8632, allocations: 316.5 kB / 0.8723 GB, free: 11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.8633, allocations: 25.7 kB / 0.8724 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.8635, allocations: 184.2 kB / 0.8725 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.8635, allocations: 47.58 kB / 0.8726 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.8636, allocations: 37.7 kB / 0.8726 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.8639, allocations: 338.8 kB / 0.8729 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.8641, allocations: 63.89 kB / 0.873 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.8643, allocations: 113.1 kB / 0.8731 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.8647, allocations: 175 kB / 0.8733 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.8647, allocations: 0 / 0.8733 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005429/0.8652, allocations: 221.2 kB / 0.8735 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.8652, allocations: 4 kB / 0.8735 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.8652, allocations: 4 kB / 0.8735 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.8653, allocations: 4.156 kB / 0.8735 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.8655, allocations: 35.92 kB / 0.8735 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.8655, allocations: 0 / 0.8735 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.8657, allocations: 31.83 kB / 0.8736 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.8657, allocations: 7.938 kB / 0.8736 GB, free: 9.668 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002385/0.866, allocations: 161.6 kB / 0.8737 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.866, allocations: 27.81 kB / 0.8737 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.8666, allocations: 212.3 kB / 0.8739 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.8666, allocations: 0 / 0.8739 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.8666, allocations: 4 kB / 0.874 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8666, allocations: 3.984 kB / 0.874 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.8678, allocations: 0.6397 MB / 0.8746 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.8678, allocations: 4.75 kB / 0.8746 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.868, allocations: 31.92 kB / 0.8746 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.868, allocations: 4 kB / 0.8746 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.868, allocations: 11.92 kB / 0.8746 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.868, allocations: 4.719 kB / 0.8746 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.868, allocations: 4 kB / 0.8746 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.8685, allocations: 335.5 kB / 0.875 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.8687, allocations: 47.72 kB / 0.875 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.8687, allocations: 12.81 kB / 0.875 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.8689, allocations: 4 kB / 0.875 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.869, allocations: 23.91 kB / 0.875 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.869, allocations: 8 kB / 0.8751 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002631/0.8693, allocations: 219.1 kB / 0.8753 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8693, allocations: 3.938 kB / 0.8753 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004588/0.8697, allocations: 75.88 kB / 0.8753 GB, free: 7.734 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005212/0.8702, allocations: 153.8 kB / 0.8755 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.8707, allocations: 153.2 kB / 0.8756 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8707, allocations: 0 / 0.8756 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.8709, allocations: 88.14 kB / 0.8757 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000963/0.8719, allocations: 148.3 kB / 0.8759 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.8731, allocations: 0.5408 MB / 0.8764 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.8736, allocations: 0.7834 MB / 0.8771 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.8738, allocations: 67.12 kB / 0.8772 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.8739, allocations: 23.44 kB / 0.8772 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.8739, allocations: 3.938 kB / 0.8772 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of Templates: time 0.01213/0.886, allocations: 5.249 MB / 0.8824 GB, free: 0.5664 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.667755817994475] Failed to read output from testmodel.py, exit status != 0: 0.8937759818509221 0.909728498 0.051642442000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f08cd8217b0>