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.001274/0.001274, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0015/0.001501, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9437/0.9437, allocations: 135.6 MB / 425.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 68.02 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1766, allocations: 81.03 MB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4755/0.6522, allocations: 159.1 MB / 0.7399 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006273/0.6585, allocations: 4.506 MB / 0.7443 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.6591, allocations: 8.062 kB / 0.7443 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.6595, allocations: 102.2 kB / 0.7444 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008737/0.6604, allocations: 316.2 kB / 0.7447 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.6613, allocations: 256.6 kB / 0.7449 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.662, allocations: 0.5579 MB / 0.7455 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.6624, allocations: 197.4 kB / 0.7457 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009824/0.6633, allocations: 452.3 kB / 0.7461 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.6636, allocations: 202.1 kB / 0.7463 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.6637, allocations: 16.5 kB / 0.7463 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.6638, allocations: 81.33 kB / 0.7464 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.6639, allocations: 89.44 kB / 0.7465 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.6641, allocations: 127.6 kB / 0.7466 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.6644, allocations: 298.4 kB / 0.7469 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6645, allocations: 1.25 kB / 0.7469 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6645, allocations: 0 / 0.7469 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.6645, allocations: 0 / 0.7469 GB, free: 4.469 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.0009784/0.6655, allocations: 0.5306 MB / 0.7474 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6655, allocations: 8 kB / 0.7474 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.6656, allocations: 32.98 kB / 0.7474 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.666, allocations: 275.5 kB / 0.7477 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.666, allocations: 13.75 kB / 0.7477 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.6661, allocations: 20.84 kB / 0.7477 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.6665, allocations: 259.3 kB / 0.748 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6665, allocations: 3.938 kB / 0.748 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.6666, allocations: 6.5 kB / 0.748 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.6666, allocations: 4.812 kB / 0.748 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.6669, allocations: 151.5 kB / 0.7482 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.6684, allocations: 1.376 MB / 0.7495 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.6687, allocations: 178.7 kB / 0.7497 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.669, allocations: 94.95 kB / 0.7498 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/0.6693, allocations: 114 kB / 0.7499 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.6694, allocations: 51.38 kB / 0.7499 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.6694, allocations: 0 / 0.7499 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006252/0.67, allocations: 211.6 kB / 0.7501 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.6701, allocations: 182.2 kB / 0.7503 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.6705, allocations: 293.5 kB / 0.7506 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.6705, allocations: 32.3 kB / 0.7506 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.6706, allocations: 150.3 kB / 0.7507 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.6707, allocations: 28.41 kB / 0.7508 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.6708, allocations: 35.05 kB / 0.7508 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.6709, allocations: 342.8 kB / 0.7511 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.6711, allocations: 39.28 kB / 0.7512 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.6713, allocations: 123.2 kB / 0.7513 GB, free: 432 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.6715, allocations: 161 kB / 0.7514 GB, free: 308 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6716, allocations: 0 / 0.7514 GB, free: 308 kB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003626/0.6719, allocations: 195.9 kB / 0.7516 GB, free: 192 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6719, allocations: 5.188 kB / 0.7516 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.672, allocations: 2.344 kB / 0.7516 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.672, allocations: 2.625 kB / 0.7516 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6721, allocations: 35.8 kB / 0.7517 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.6721, allocations: 6.953 kB / 0.7517 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.6723, allocations: 25.78 kB / 0.7517 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.6723, allocations: 12.02 kB / 0.7517 GB, free: 156 kB / 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.0001422/0.6725, allocations: 145.5 kB / 0.7519 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6726, allocations: 28.62 kB / 0.7519 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.673, allocations: 126.4 kB / 0.752 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.673, allocations: 2.562 kB / 0.752 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.673, allocations: 6.922 kB / 0.752 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.673, allocations: 0 / 0.752 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.674, allocations: 0.7804 MB / 0.7528 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.674, allocations: 2.25 kB / 0.7528 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.6742, allocations: 22.7 kB / 0.7528 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6742, allocations: 3.938 kB / 0.7528 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.6742, allocations: 10.48 kB / 0.7528 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.6742, allocations: 2.5 kB / 0.7528 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6742, allocations: 3.094 kB / 0.7528 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.6748, allocations: 344 kB / 0.7531 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6749, allocations: 107.6 kB / 0.7532 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.6749, allocations: 13.78 kB / 0.7533 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.6751, allocations: 8.984 kB / 0.7533 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.6751, allocations: 14.38 kB / 0.7533 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.6751, allocations: 12.23 kB / 0.7533 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001977/0.6753, allocations: 208.2 kB / 0.7535 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6753, allocations: 0 / 0.7535 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003402/0.6757, allocations: 53.84 kB / 0.7535 GB, free: 14.57 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.0003748/0.6761, allocations: 146 kB / 0.7537 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.6764, allocations: 119.4 kB / 0.7538 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6764, allocations: 448 / 0.7538 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.6766, allocations: 66.2 kB / 0.7539 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.6773, allocations: 124.1 kB / 0.754 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.6782, allocations: 0.5535 MB / 0.7545 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.6786, allocations: 0.7519 MB / 0.7552 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.6788, allocations: 50.25 kB / 0.7553 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.6788, allocations: 23.44 kB / 0.7553 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.6788, allocations: 0 / 0.7553 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of Templates: time 0.009028/0.6879, allocations: 4.15 MB / 0.7594 GB, free: 8.953 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)