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.0008206/0.0008208, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009627/0.0009628, allocations: 184.3 kB / 16.92 MB, free: 6.895 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004092, allocations: 12.28 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1853, allocations: 82.32 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4507/0.6361, allocations: 157 MB / 0.742 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005712/0.6418, allocations: 4.488 MB / 0.7463 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.6422, allocations: 10.62 kB / 0.7464 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.6426, allocations: 96.83 kB / 0.7465 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009283/0.6436, allocations: 314.4 kB / 0.7468 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.6444, allocations: 245.5 kB / 0.747 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000924/0.6453, allocations: 0.7935 MB / 0.7478 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.6457, allocations: 174.5 kB / 0.7479 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.6469, allocations: 412.9 kB / 0.7483 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.6472, allocations: 197.9 kB / 0.7485 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.6473, allocations: 9.625 kB / 0.7485 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.6475, allocations: 66.58 kB / 0.7486 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.6477, allocations: 79.05 kB / 0.7487 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.6478, allocations: 137.4 kB / 0.7488 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.6481, allocations: 211.9 kB / 0.749 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6481, allocations: 0 / 0.749 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6481, allocations: 0 / 0.749 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.6481, allocations: 1.375 kB / 0.749 GB, free: 5.832 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.0008265/0.649, allocations: 0.4961 MB / 0.7495 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.649, allocations: 13.62 kB / 0.7495 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.6491, allocations: 29.41 kB / 0.7495 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.6495, allocations: 278.8 kB / 0.7498 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.6496, allocations: 17 kB / 0.7498 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.6496, allocations: 16.97 kB / 0.7498 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.6501, allocations: 264.5 kB / 0.7501 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6501, allocations: 5.188 kB / 0.7501 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.6502, allocations: 10.47 kB / 0.7501 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.6502, allocations: 5.25 kB / 0.7501 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.6506, allocations: 163.2 kB / 0.7502 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.652, allocations: 1.373 MB / 0.7516 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.6523, allocations: 187.2 kB / 0.7518 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.6525, allocations: 99.89 kB / 0.7519 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/0.6529, allocations: 136.3 kB / 0.752 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.6529, allocations: 45.22 kB / 0.752 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.6529, allocations: 4 kB / 0.752 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006251/0.6535, allocations: 225 kB / 0.7522 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.6536, allocations: 186.6 kB / 0.7524 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.6539, allocations: 285.1 kB / 0.7527 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.654, allocations: 31.7 kB / 0.7527 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.6541, allocations: 149.7 kB / 0.7529 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.6541, allocations: 30.5 kB / 0.7529 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.6542, allocations: 20.83 kB / 0.7529 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6543, allocations: 342.6 kB / 0.7532 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.6544, allocations: 46.25 kB / 0.7533 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.6546, allocations: 130.8 kB / 0.7534 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.6549, allocations: 177.4 kB / 0.7536 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.655, allocations: 0 / 0.7536 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003738/0.6553, allocations: 202.4 kB / 0.7538 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6554, allocations: 7.156 kB / 0.7538 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6554, allocations: 1.406 kB / 0.7538 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6554, allocations: 3.406 kB / 0.7538 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.6555, allocations: 37.05 kB / 0.7538 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6555, allocations: 3.375 kB / 0.7538 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.6557, allocations: 35.58 kB / 0.7539 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.6558, allocations: 6.188 kB / 0.7539 GB, free: 1.531 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.0001388/0.6559, allocations: 153.3 kB / 0.754 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.656, allocations: 27.38 kB / 0.754 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.6564, allocations: 137.7 kB / 0.7542 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6564, allocations: 2.656 kB / 0.7542 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6564, allocations: 0 / 0.7542 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.6564, allocations: 2.688 kB / 0.7542 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.6573, allocations: 0.7788 MB / 0.7549 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6573, allocations: 3.031 kB / 0.7549 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.6574, allocations: 23.8 kB / 0.755 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.6574, allocations: 3.688 kB / 0.755 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.6574, allocations: 4.156 kB / 0.755 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6574, allocations: 6.781 kB / 0.755 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6575, allocations: 11.52 kB / 0.755 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.658, allocations: 349.6 kB / 0.7553 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.6581, allocations: 114.3 kB / 0.7554 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.6582, allocations: 4 kB / 0.7554 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.6583, allocations: 12.38 kB / 0.7554 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.6584, allocations: 19.36 kB / 0.7555 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-06/0.6584, allocations: 3.031 kB / 0.7555 GB, free: 96 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002079/0.6586, allocations: 210.9 kB / 0.7557 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6586, allocations: 0 / 0.7557 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003436/0.6589, allocations: 51.86 kB / 0.7557 GB, free: 15.95 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.0003298/0.6593, allocations: 151.9 kB / 0.7559 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.6596, allocations: 136.8 kB / 0.756 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6596, allocations: 0 / 0.756 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.6598, allocations: 60.91 kB / 0.7561 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.6606, allocations: 123.5 kB / 0.7562 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.6614, allocations: 0.5975 MB / 0.7568 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.6617, allocations: 0.7562 MB / 0.7575 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.6618, allocations: 20.53 kB / 0.7575 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.6618, allocations: 0 / 0.7575 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of Templates: time 0.006339/0.6681, allocations: 3.771 MB / 0.7612 GB, free: 11.4 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)