Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009146/0.0009149, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006572/0.006572, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003077, allocations: 8.562 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1679, allocations: 82.3 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4831/0.6511, allocations: 157 MB / 0.7413 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006407/0.6575, allocations: 4.483 MB / 0.7457 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.6579, allocations: 7.625 kB / 0.7457 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.6584, allocations: 105.4 kB / 0.7458 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009582/0.6593, allocations: 310.4 kB / 0.7461 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.6601, allocations: 250.6 kB / 0.7463 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000953/0.6611, allocations: 0.7984 MB / 0.7471 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003808/0.6615, allocations: 164.8 kB / 0.7473 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.6626, allocations: 415.2 kB / 0.7477 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.663, allocations: 202.2 kB / 0.7479 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.6631, allocations: 13.78 kB / 0.7479 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.6633, allocations: 67.55 kB / 0.7479 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.6634, allocations: 78.12 kB / 0.748 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.6636, allocations: 135 kB / 0.7481 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.664, allocations: 281.8 kB / 0.7484 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.664, allocations: 1.375 kB / 0.7484 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.664, allocations: 0 / 0.7484 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.664, allocations: 0 / 0.7484 GB, free: 5.555 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008865/0.6649, allocations: 0.4995 MB / 0.7489 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.665, allocations: 9.625 kB / 0.7489 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.6651, allocations: 29.41 kB / 0.7489 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.6655, allocations: 271.3 kB / 0.7492 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.6655, allocations: 16.19 kB / 0.7492 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.6656, allocations: 24.31 kB / 0.7492 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.6661, allocations: 273.3 kB / 0.7495 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6661, allocations: 5.156 kB / 0.7495 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.6661, allocations: 6.125 kB / 0.7495 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.6661, allocations: 8.719 kB / 0.7495 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.6665, allocations: 158 kB / 0.7497 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.6681, allocations: 1.373 MB / 0.751 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.6685, allocations: 187 kB / 0.7512 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.6687, allocations: 95.3 kB / 0.7513 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003932/0.6691, allocations: 140.6 kB / 0.7514 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.6691, allocations: 41.06 kB / 0.7515 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.986e-06/0.6691, allocations: 3.984 kB / 0.7515 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006221/0.6697, allocations: 225.3 kB / 0.7517 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.6698, allocations: 182.8 kB / 0.7518 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.6701, allocations: 289.1 kB / 0.7521 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.6702, allocations: 32.48 kB / 0.7522 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.6703, allocations: 150.4 kB / 0.7523 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.6703, allocations: 36.64 kB / 0.7523 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.6704, allocations: 20.8 kB / 0.7523 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6705, allocations: 328.7 kB / 0.7527 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.6707, allocations: 57.67 kB / 0.7527 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.6709, allocations: 126.3 kB / 0.7528 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.6712, allocations: 182.6 kB / 0.753 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6712, allocations: 0 / 0.753 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003903/0.6716, allocations: 197.2 kB / 0.7532 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6716, allocations: 6.062 kB / 0.7532 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6716, allocations: 1.641 kB / 0.7532 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6717, allocations: 7.359 kB / 0.7532 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.6718, allocations: 39.83 kB / 0.7533 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6718, allocations: 3 kB / 0.7533 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.672, allocations: 23.98 kB / 0.7533 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.672, allocations: 10.78 kB / 0.7533 GB, free: 1.258 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001421/0.6722, allocations: 148 kB / 0.7534 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.6723, allocations: 31.77 kB / 0.7535 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.6727, allocations: 140 kB / 0.7536 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6727, allocations: 5.812 kB / 0.7536 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6727, allocations: 3.312 kB / 0.7536 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6727, allocations: 0 / 0.7536 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008247/0.6735, allocations: 0.7722 MB / 0.7544 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6735, allocations: 7.969 kB / 0.7544 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.6737, allocations: 30.11 kB / 0.7544 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6737, allocations: 0 / 0.7544 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.6737, allocations: 5.156 kB / 0.7544 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6737, allocations: 5.5 kB / 0.7544 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6737, allocations: 1.844 kB / 0.7544 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006363/0.6743, allocations: 365.1 kB / 0.7548 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.6745, allocations: 106.2 kB / 0.7549 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.6745, allocations: 3.312 kB / 0.7549 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.6746, allocations: 16.8 kB / 0.7549 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.6747, allocations: 11.17 kB / 0.7549 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.6747, allocations: 10.53 kB / 0.7549 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002038/0.6749, allocations: 206.6 kB / 0.7551 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6749, allocations: 0 / 0.7551 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003451/0.6753, allocations: 58 kB / 0.7551 GB, free: 15.67 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003203/0.6756, allocations: 138.1 kB / 0.7553 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.676, allocations: 132.6 kB / 0.7554 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.676, allocations: 0 / 0.7554 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.6761, allocations: 69.86 kB / 0.7555 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.677, allocations: 130.5 kB / 0.7556 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.678, allocations: 0.5666 MB / 0.7561 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.6784, allocations: 0.7565 MB / 0.7569 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.6786, allocations: 51.12 kB / 0.7569 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.6786, allocations: 24.23 kB / 0.757 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.995e-06/0.6786, allocations: 3.5 kB / 0.757 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.009748/0.6884, allocations: 3.996 MB / 0.7609 GB, free: 10.93 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)