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.001489/0.001489, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001826/0.001826, allocations: 187 kB / 17.34 MB, free: 5.719 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7719/0.7719, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.7 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1539, allocations: 80.2 MB / 0.6603 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4973/0.6513, allocations: 161.4 MB / 0.8179 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005354/0.6567, allocations: 4.538 MB / 0.8224 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.6572, allocations: 15.06 kB / 0.8224 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.6577, allocations: 130.2 kB / 0.8225 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00091/0.6586, allocations: 327.6 kB / 0.8228 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.6595, allocations: 277.2 kB / 0.8231 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.6601, allocations: 0.5629 MB / 0.8236 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.6605, allocations: 197.6 kB / 0.8238 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.6615, allocations: 469.2 kB / 0.8243 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.6617, allocations: 188.5 kB / 0.8244 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.6618, allocations: 15.34 kB / 0.8244 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.662, allocations: 79.19 kB / 0.8245 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.6621, allocations: 92.27 kB / 0.8246 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.6622, allocations: 120.2 kB / 0.8247 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.6626, allocations: 303.8 kB / 0.825 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6626, allocations: 0 / 0.825 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6626, allocations: 0 / 0.825 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6626, allocations: 2.562 kB / 0.825 GB, free: 5.07 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.0008424/0.6635, allocations: 0.541 MB / 0.8255 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6635, allocations: 7.906 kB / 0.8256 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.6636, allocations: 24.41 kB / 0.8256 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.664, allocations: 292.3 kB / 0.8259 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.664, allocations: 11.34 kB / 0.8259 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.6641, allocations: 18.56 kB / 0.8259 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.6645, allocations: 259.1 kB / 0.8261 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.6645, allocations: 3.938 kB / 0.8261 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.6645, allocations: 6.875 kB / 0.8261 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.6646, allocations: 4.875 kB / 0.8261 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.6649, allocations: 151.9 kB / 0.8263 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.6662, allocations: 1.36 MB / 0.8276 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.6664, allocations: 180.6 kB / 0.8278 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.6666, allocations: 100.3 kB / 0.8279 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.667, allocations: 119.4 kB / 0.828 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.667, allocations: 41.33 kB / 0.828 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.667, allocations: 0 / 0.828 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000622/0.6677, allocations: 210.5 kB / 0.8282 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.6678, allocations: 186.4 kB / 0.8284 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.668, allocations: 290.3 kB / 0.8287 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.6681, allocations: 25.7 kB / 0.8287 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.6682, allocations: 152.2 kB / 0.8289 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.6682, allocations: 43.95 kB / 0.8289 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.6683, allocations: 33.31 kB / 0.8289 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6684, allocations: 335.7 kB / 0.8293 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.6686, allocations: 51.48 kB / 0.8293 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.6687, allocations: 113 kB / 0.8294 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.669, allocations: 161.7 kB / 0.8296 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.669, allocations: 0 / 0.8296 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003515/0.6694, allocations: 191.6 kB / 0.8298 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6694, allocations: 8.812 kB / 0.8298 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6694, allocations: 5.875 kB / 0.8298 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6694, allocations: 2.531 kB / 0.8298 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.6696, allocations: 31.16 kB / 0.8298 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6696, allocations: 6.938 kB / 0.8298 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.6698, allocations: 31.97 kB / 0.8298 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.6698, allocations: 11.36 kB / 0.8298 GB, free: 0.7422 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.0001217/0.6699, allocations: 145.4 kB / 0.83 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.6701, allocations: 35.22 kB / 0.83 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.6704, allocations: 126.7 kB / 0.8301 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6704, allocations: 6.688 kB / 0.8301 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6704, allocations: 1.812 kB / 0.8301 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6704, allocations: 6.875 kB / 0.8302 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/0.6712, allocations: 0.767 MB / 0.8309 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6712, allocations: 4.156 kB / 0.8309 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.6714, allocations: 27.5 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6714, allocations: 3.938 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6714, allocations: 2.844 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6714, allocations: 5.125 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6714, allocations: 2.406 kB / 0.8309 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.6719, allocations: 341.5 kB / 0.8313 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.672, allocations: 106.9 kB / 0.8314 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.6721, allocations: 6.719 kB / 0.8314 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.6722, allocations: 9.047 kB / 0.8314 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.6722, allocations: 16.61 kB / 0.8314 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6723, allocations: 7.656 kB / 0.8314 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001912/0.6724, allocations: 213.1 kB / 0.8316 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6725, allocations: 96 / 0.8316 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000334/0.6728, allocations: 57.34 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.0003265/0.6731, allocations: 140.4 kB / 0.8318 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.6735, allocations: 121.1 kB / 0.8319 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6735, allocations: 3.938 kB / 0.8319 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.6736, allocations: 61.02 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.0007348/0.6744, allocations: 125.4 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.0008082/0.6752, allocations: 0.51 MB / 0.8326 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.6756, allocations: 0.7615 MB / 0.8333 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.6756, allocations: 20.25 kB / 0.8334 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.6756, allocations: 2.75 kB / 0.8334 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of Templates: time 0.005707/0.6813, allocations: 3.814 MB / 0.8371 GB, free: 11.81 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)