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.001402/0.001402, allocations: 100.6 kB / 16.4 MB, free: 6.461 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.001241/0.001241, allocations: 189.7 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8252/0.8252, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.83 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.15, allocations: 80.93 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6019/0.752, allocations: 161.4 MB / 0.8229 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005268/0.7573, allocations: 4.534 MB / 0.8273 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.7578, allocations: 9.25 kB / 0.8273 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.7583, allocations: 128.7 kB / 0.8275 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008582/0.7592, allocations: 326 kB / 0.8278 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/0.76, allocations: 277.4 kB / 0.828 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.7606, allocations: 0.5613 MB / 0.8286 GB, free: 260 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.761, allocations: 213.8 kB / 0.8288 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000974/0.762, allocations: 457.2 kB / 0.8292 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.7622, allocations: 195.9 kB / 0.8294 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.7623, allocations: 14.91 kB / 0.8294 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.7625, allocations: 82.31 kB / 0.8295 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.7626, allocations: 83.31 kB / 0.8296 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.7627, allocations: 126.3 kB / 0.8297 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.7631, allocations: 304.5 kB / 0.83 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7631, allocations: 0 / 0.83 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7632, allocations: 2.062 kB / 0.83 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.7632, allocations: 0 / 0.83 GB, free: 15.37 MB / 0.6075 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.00082/0.764, allocations: 0.5353 MB / 0.8305 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.764, allocations: 11.86 kB / 0.8305 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.7641, allocations: 31.58 kB / 0.8306 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.7645, allocations: 290.6 kB / 0.8308 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.7645, allocations: 16.06 kB / 0.8308 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.7646, allocations: 16.47 kB / 0.8309 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.765, allocations: 261.1 kB / 0.8311 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.765, allocations: 1.812 kB / 0.8311 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.765, allocations: 10.94 kB / 0.8311 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.765, allocations: 5.281 kB / 0.8311 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.7653, allocations: 148.8 kB / 0.8313 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.7666, allocations: 1.366 MB / 0.8326 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.7669, allocations: 181 kB / 0.8328 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.767, allocations: 92.17 kB / 0.8329 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/0.7674, allocations: 127.8 kB / 0.833 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.7674, allocations: 41.14 kB / 0.833 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.7674, allocations: 0 / 0.833 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006101/0.768, allocations: 206.3 kB / 0.8332 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.7681, allocations: 185.7 kB / 0.8334 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.7684, allocations: 287.3 kB / 0.8337 GB, free: 12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.7684, allocations: 29.7 kB / 0.8337 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.7686, allocations: 155.9 kB / 0.8339 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.7686, allocations: 40.86 kB / 0.8339 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.7687, allocations: 34.5 kB / 0.8339 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7688, allocations: 333.5 kB / 0.8342 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.7689, allocations: 53.48 kB / 0.8343 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.7691, allocations: 118.4 kB / 0.8344 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.7694, allocations: 156.6 kB / 0.8346 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7694, allocations: 0 / 0.8346 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003567/0.7698, allocations: 190.1 kB / 0.8347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7698, allocations: 5.281 kB / 0.8347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.7698, allocations: 2.688 kB / 0.8347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.7698, allocations: 3.156 kB / 0.8347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.77, allocations: 37.47 kB / 0.8348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.77, allocations: 2.188 kB / 0.8348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.7702, allocations: 25.83 kB / 0.8348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.7702, allocations: 5.75 kB / 0.8348 GB, free: 11.04 MB / 0.6075 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.0001232/0.7703, allocations: 151.2 kB / 0.835 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.7705, allocations: 28.91 kB / 0.835 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.7708, allocations: 138.7 kB / 0.8351 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7708, allocations: 3.781 kB / 0.8351 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7708, allocations: 2.812 kB / 0.8351 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.7708, allocations: 0 / 0.8351 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.7716, allocations: 0.7685 MB / 0.8359 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7716, allocations: 6.578 kB / 0.8359 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.7717, allocations: 25.55 kB / 0.8359 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.7717, allocations: 0 / 0.8359 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.7718, allocations: 5.031 kB / 0.8359 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.7718, allocations: 4.969 kB / 0.8359 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7718, allocations: 5.812 kB / 0.8359 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.7723, allocations: 342.3 kB / 0.8362 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.7724, allocations: 110.2 kB / 0.8364 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.7724, allocations: 2.875 kB / 0.8364 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.7726, allocations: 8.797 kB / 0.8364 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.7726, allocations: 17.45 kB / 0.8364 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.7726, allocations: 4.719 kB / 0.8364 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001798/0.7728, allocations: 211.9 kB / 0.8366 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7728, allocations: 3.938 kB / 0.8366 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003371/0.7732, allocations: 59.38 kB / 0.8366 GB, free: 9.445 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.0003271/0.7735, allocations: 144.5 kB / 0.8368 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.7739, allocations: 123.1 kB / 0.8369 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7739, allocations: 0 / 0.8369 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.774, allocations: 57.33 kB / 0.837 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.7747, allocations: 130.6 kB / 0.8371 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008326/0.7756, allocations: 0.5047 MB / 0.8376 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.7759, allocations: 0.7554 MB / 0.8383 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.776, allocations: 26.5 kB / 0.8383 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.776, allocations: 3.938 kB / 0.8383 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of Templates: time 0.005987/0.782, allocations: 3.809 MB / 0.8421 GB, free: 6.105 MB / 0.6075 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)