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.006415/0.006415, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.001211/0.001211, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 0.5856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4603, allocations: 80.92 MB / 0.6647 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2033/0.6636, allocations: 161.4 MB / 0.8222 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00654/0.6702, allocations: 4.557 MB / 0.8267 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/0.6708, allocations: 7.938 kB / 0.8267 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.6714, allocations: 123.1 kB / 0.8268 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.6727, allocations: 330.4 kB / 0.8271 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000933/0.6737, allocations: 281.2 kB / 0.8274 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.6745, allocations: 0.5574 MB / 0.8279 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.675, allocations: 205.1 kB / 0.8281 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.6762, allocations: 458.2 kB / 0.8286 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.6766, allocations: 187.3 kB / 0.8287 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.6767, allocations: 16 kB / 0.8288 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.6769, allocations: 87.91 kB / 0.8288 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.677, allocations: 83.73 kB / 0.8289 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.6772, allocations: 119.4 kB / 0.829 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.6777, allocations: 304.4 kB / 0.8293 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6777, allocations: 3.938 kB / 0.8293 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6777, allocations: 0 / 0.8293 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.6778, allocations: 4 kB / 0.8293 GB, free: 8.371 MB / 0.6544 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.001002/0.6788, allocations: 0.5409 MB / 0.8299 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6788, allocations: 8.031 kB / 0.8299 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.6789, allocations: 23.86 kB / 0.8299 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.6794, allocations: 291.5 kB / 0.8302 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.6795, allocations: 12 kB / 0.8302 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.6795, allocations: 16 kB / 0.8302 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.68, allocations: 277.7 kB / 0.8305 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6801, allocations: 0 / 0.8305 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.6801, allocations: 8 kB / 0.8305 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.6801, allocations: 7.938 kB / 0.8305 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.6805, allocations: 147.8 kB / 0.8306 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.6821, allocations: 1.376 MB / 0.832 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.6824, allocations: 191.6 kB / 0.8321 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.6826, allocations: 93.11 kB / 0.8322 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.6829, allocations: 121 kB / 0.8324 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.683, allocations: 34.5 kB / 0.8324 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.683, allocations: 4 kB / 0.8324 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006516/0.6836, allocations: 209.3 kB / 0.8326 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.6838, allocations: 188.5 kB / 0.8328 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.6841, allocations: 291 kB / 0.833 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.6841, allocations: 25.7 kB / 0.8331 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6842, allocations: 144 kB / 0.8332 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.6843, allocations: 47.62 kB / 0.8333 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.6844, allocations: 37.66 kB / 0.8333 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6845, allocations: 330.8 kB / 0.8336 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.6846, allocations: 43.97 kB / 0.8336 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.6848, allocations: 126.4 kB / 0.8338 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.6851, allocations: 154.7 kB / 0.8339 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6852, allocations: 4 kB / 0.8339 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003928/0.6856, allocations: 197.2 kB / 0.8341 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6856, allocations: 4 kB / 0.8341 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.6856, allocations: 4 kB / 0.8341 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.6856, allocations: 4 kB / 0.8341 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.6858, allocations: 27.98 kB / 0.8341 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6858, allocations: 3.938 kB / 0.8341 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.686, allocations: 28.05 kB / 0.8342 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.686, allocations: 16 kB / 0.8342 GB, free: 2.949 MB / 0.6544 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.0001458/0.6862, allocations: 145.8 kB / 0.8343 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.6863, allocations: 23.86 kB / 0.8344 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.6867, allocations: 135.3 kB / 0.8345 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6867, allocations: 0 / 0.8345 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6867, allocations: 4 kB / 0.8345 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.6867, allocations: 0 / 0.8345 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.6876, allocations: 0.7769 MB / 0.8352 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6876, allocations: 0 / 0.8352 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.6877, allocations: 27.92 kB / 0.8353 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/0.6878, allocations: 0 / 0.8353 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.6878, allocations: 8.156 kB / 0.8353 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6878, allocations: 3.984 kB / 0.8353 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6878, allocations: 7.938 kB / 0.8353 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.6884, allocations: 347.5 kB / 0.8356 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.6885, allocations: 113 kB / 0.8357 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.6885, allocations: 0 / 0.8357 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6887, allocations: 12 kB / 0.8357 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.6887, allocations: 15.86 kB / 0.8358 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.6888, allocations: 8.062 kB / 0.8358 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002234/0.689, allocations: 213.9 kB / 0.836 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.689, allocations: 0 / 0.836 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00036/0.6894, allocations: 51.94 kB / 0.836 GB, free: 0.9336 MB / 0.6544 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.0003749/0.6897, allocations: 142.6 kB / 0.8362 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.6901, allocations: 123.8 kB / 0.8363 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6901, allocations: 0 / 0.8363 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.6903, allocations: 59.84 kB / 0.8363 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/0.6911, allocations: 123.3 kB / 0.8364 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009463/0.692, allocations: 0.4954 MB / 0.8369 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.6924, allocations: 0.7597 MB / 0.8377 GB, free: 15.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.6926, allocations: 50.23 kB / 0.8377 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.6927, allocations: 19.44 kB / 0.8377 GB, free: 15.11 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.6927, allocations: 8 kB / 0.8377 GB, free: 15.1 MB / 0.67 GB Notification: Performance of Templates: time 0.00945/0.7021, allocations: 4.239 MB / 0.8419 GB, free: 10.93 MB / 0.67 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)