Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001464/0.001464, allocations: 107.1 kB / 16.41 MB, free: 6.449 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.001804/0.001805, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.519/1.519, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8044/0.8044, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.84 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1474, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5188/0.6663, allocations: 161.4 MB / 0.8179 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00544/0.6718, allocations: 4.535 MB / 0.8224 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.6722, allocations: 9.75 kB / 0.8224 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.6727, allocations: 125.7 kB / 0.8225 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000785/0.6735, allocations: 338.2 kB / 0.8228 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007345/0.6742, allocations: 273.1 kB / 0.8231 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.6748, allocations: 0.5632 MB / 0.8236 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.6751, allocations: 200.2 kB / 0.8238 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008495/0.676, allocations: 457.4 kB / 0.8242 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.6763, allocations: 192.7 kB / 0.8244 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.6763, allocations: 21.34 kB / 0.8244 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.6765, allocations: 80.05 kB / 0.8245 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.6766, allocations: 87.09 kB / 0.8246 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.6767, allocations: 120.1 kB / 0.8247 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.677, allocations: 303.2 kB / 0.825 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6771, allocations: 0 / 0.825 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6771, allocations: 0 / 0.825 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.6771, allocations: 4 kB / 0.825 GB, free: 5.074 MB / 0.5919 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.0007448/0.6778, allocations: 0.534 MB / 0.8255 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.6779, allocations: 8.094 kB / 0.8255 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.6779, allocations: 29.12 kB / 0.8256 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.6783, allocations: 281.8 kB / 0.8258 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.6783, allocations: 22.98 kB / 0.8259 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.6784, allocations: 17.58 kB / 0.8259 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.6788, allocations: 266.2 kB / 0.8261 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.6788, allocations: 2.812 kB / 0.8261 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.6788, allocations: 6.594 kB / 0.8261 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6788, allocations: 2.562 kB / 0.8261 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.6792, allocations: 153.1 kB / 0.8263 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.6804, allocations: 1.37 MB / 0.8276 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.6807, allocations: 172.7 kB / 0.8278 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.6808, allocations: 97.55 kB / 0.8279 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000334/0.6812, allocations: 126.3 kB / 0.828 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.6812, allocations: 40.78 kB / 0.828 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.6812, allocations: 0 / 0.828 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005855/0.6818, allocations: 210.2 kB / 0.8282 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.6819, allocations: 187.1 kB / 0.8284 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.6822, allocations: 292.1 kB / 0.8287 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.6822, allocations: 28.2 kB / 0.8287 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.6823, allocations: 144.5 kB / 0.8289 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.6823, allocations: 40.14 kB / 0.8289 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.6824, allocations: 30.59 kB / 0.8289 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6825, allocations: 331.8 kB / 0.8293 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.6827, allocations: 52.52 kB / 0.8293 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.6829, allocations: 113.8 kB / 0.8294 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.6831, allocations: 156.2 kB / 0.8296 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6831, allocations: 2.844 kB / 0.8296 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003435/0.6835, allocations: 192.2 kB / 0.8297 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.6835, allocations: 6.812 kB / 0.8298 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6835, allocations: 2.906 kB / 0.8298 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6835, allocations: 10.66 kB / 0.8298 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.6837, allocations: 36.19 kB / 0.8298 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.6837, allocations: 6.312 kB / 0.8298 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.6839, allocations: 30.14 kB / 0.8298 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.6839, allocations: 11.34 kB / 0.8298 GB, free: 0.7461 MB / 0.5919 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.000125/0.684, allocations: 143.3 kB / 0.83 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.6842, allocations: 28.12 kB / 0.83 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.6845, allocations: 131.8 kB / 0.8301 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.6845, allocations: 6.109 kB / 0.8301 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6845, allocations: 0 / 0.8301 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6845, allocations: 6.531 kB / 0.8301 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007872/0.6853, allocations: 0.7669 MB / 0.8309 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6853, allocations: 2.953 kB / 0.8309 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.6854, allocations: 30.41 kB / 0.8309 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.6854, allocations: 10.89 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.6855, allocations: 2.094 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6855, allocations: 2.25 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6855, allocations: 0 / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.686, allocations: 341.9 kB / 0.8313 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.6861, allocations: 106.9 kB / 0.8314 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.6861, allocations: 2.75 kB / 0.8314 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.6862, allocations: 13.23 kB / 0.8314 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.6863, allocations: 16.62 kB / 0.8314 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.6863, allocations: 8.906 kB / 0.8314 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001921/0.6865, allocations: 214.3 kB / 0.8316 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6865, allocations: 0 / 0.8316 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003243/0.6868, allocations: 57.31 kB / 0.8317 GB, free: 15.16 MB / 0.6075 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.0002928/0.6871, allocations: 147.1 kB / 0.8318 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.6875, allocations: 124.4 kB / 0.8319 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6875, allocations: 0 / 0.8319 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.6876, allocations: 60.38 kB / 0.832 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.6883, allocations: 128.3 kB / 0.8321 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/0.6891, allocations: 0.5002 MB / 0.8326 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.6894, allocations: 0.7625 MB / 0.8333 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.6895, allocations: 26.14 kB / 0.8334 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6895, allocations: 0 / 0.8334 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of Templates: time 0.005506/0.695, allocations: 3.787 MB / 0.8371 GB, free: 11.83 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)