Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.00186/0.00186, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00251/0.00251, allocations: 207 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.297/1.297, allocations: 203.8 MB / 0.5041 GB, free: 4.637 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.002201/0.002201, allocations: 74.52 kB / 0.7187 GB, free: 1.977 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.709, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2326/0.9416, allocations: 147.8 MB / 0.9626 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008923/0.9506, allocations: 6.026 MB / 0.9685 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000491/0.9511, allocations: 19.81 kB / 0.9685 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.9517, allocations: 174.7 kB / 0.9687 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.9541, allocations: 0.8363 MB / 0.9695 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.9552, allocations: 358.1 kB / 0.9699 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009603/0.9561, allocations: 0.729 MB / 0.9706 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.9566, allocations: 215.2 kB / 0.9708 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.9582, allocations: 0.7317 MB / 0.9715 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.9586, allocations: 270.8 kB / 0.9717 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.9586, allocations: 24 kB / 0.9718 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/0.9592, allocations: 283.3 kB / 0.972 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.9594, allocations: 115.6 kB / 0.9721 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.9596, allocations: 131.4 kB / 0.9723 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007134/0.9603, allocations: 470.2 kB / 0.9727 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9603, allocations: 0 / 0.9727 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9603, allocations: 0 / 0.9727 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.9604, allocations: 0 / 0.9727 GB, free: 7.781 MB / 0.7481 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.0009883/0.9613, allocations: 0.5477 MB / 0.9733 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.9614, allocations: 9.469 kB / 0.9733 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.9617, allocations: 63.72 kB / 0.9733 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.9623, allocations: 275.4 kB / 0.9736 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.9624, allocations: 16.66 kB / 0.9736 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.9624, allocations: 28 kB / 0.9736 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.963, allocations: 324.9 kB / 0.9739 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.963, allocations: 0 / 0.9739 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.9631, allocations: 8 kB / 0.9739 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.9631, allocations: 8 kB / 0.974 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.9635, allocations: 197.6 kB / 0.9741 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.9651, allocations: 1.125 MB / 0.9752 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.9654, allocations: 110.5 kB / 0.9753 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.9657, allocations: 88.73 kB / 0.9754 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005377/0.9662, allocations: 80.17 kB / 0.9755 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.9662, allocations: 34.5 kB / 0.9755 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.9662, allocations: 0 / 0.9755 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008873/0.9671, allocations: 257.4 kB / 0.9758 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.9672, allocations: 59.41 kB / 0.9758 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.9674, allocations: 229.9 kB / 0.9761 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.9674, allocations: 25.7 kB / 0.9761 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.9677, allocations: 200.1 kB / 0.9763 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.9677, allocations: 43.59 kB / 0.9763 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.9678, allocations: 41.7 kB / 0.9764 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.968, allocations: 326.8 kB / 0.9767 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.9682, allocations: 59.95 kB / 0.9767 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.9685, allocations: 192.3 kB / 0.9769 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.9689, allocations: 177 kB / 0.9771 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9689, allocations: 4 kB / 0.9771 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004535/0.9693, allocations: 220.5 kB / 0.9773 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.9694, allocations: 4 kB / 0.9773 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.9694, allocations: 4 kB / 0.9773 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.9694, allocations: 3.938 kB / 0.9773 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.9696, allocations: 39.95 kB / 0.9773 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.9696, allocations: 0 / 0.9773 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.9698, allocations: 27.86 kB / 0.9774 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.9698, allocations: 8 kB / 0.9774 GB, free: 2.75 MB / 0.7481 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.0001931/0.97, allocations: 146.9 kB / 0.9775 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.97, allocations: 27.8 kB / 0.9775 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.9705, allocations: 207.3 kB / 0.9777 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9705, allocations: 0 / 0.9777 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9705, allocations: 0 / 0.9777 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.9705, allocations: 7.984 kB / 0.9778 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.9716, allocations: 0.5895 MB / 0.9783 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.9716, allocations: 4 kB / 0.9783 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.9718, allocations: 35.91 kB / 0.9784 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.9718, allocations: 4 kB / 0.9784 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.9718, allocations: 7.938 kB / 0.9784 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9718, allocations: 0 / 0.9784 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9718, allocations: 4 kB / 0.9784 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.9724, allocations: 333.4 kB / 0.9787 GB, free: 1.285 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.9725, allocations: 31.84 kB / 0.9787 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.9725, allocations: 11.98 kB / 0.9787 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.9726, allocations: 4 kB / 0.9787 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.9727, allocations: 23.84 kB / 0.9788 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.9727, allocations: 8 kB / 0.9788 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002817/0.973, allocations: 161.2 kB / 0.9789 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.973, allocations: 0 / 0.9789 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004723/0.9735, allocations: 87.72 kB / 0.979 GB, free: 0.9609 MB / 0.7481 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.0003016/0.9738, allocations: 131.1 kB / 0.9791 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.9743, allocations: 159.8 kB / 0.9793 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9743, allocations: 0 / 0.9793 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.9745, allocations: 79.83 kB / 0.9794 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.9751, allocations: 97.41 kB / 0.9795 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.9761, allocations: 0.5211 MB / 0.98 GB, free: 15.93 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.9764, allocations: 179.5 kB / 0.9801 GB, free: 15.73 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.9766, allocations: 49.91 kB / 0.9802 GB, free: 15.69 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.9766, allocations: 19.44 kB / 0.9802 GB, free: 15.67 MB / 0.7638 GB Notification: Performance of SimCode: time 4.81e-07/0.9766, allocations: 4 kB / 0.9802 GB, free: 15.66 MB / 0.7638 GB Notification: Performance of Templates: time 0.01009/0.9867, allocations: 4.107 MB / 0.9842 GB, free: 11.66 MB / 0.7638 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.334009697660804] Failed to read output from testmodel.py, exit status != 0: 0.9971893057227135 1.014984058 0.051050813 Calling exit ...