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.006433/0.006433, allocations: 101.6 kB / 15.88 MB, free: 5.871 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.001162/0.001162, allocations: 191.9 kB / 16.78 MB, free: 5.816 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9183/0.9183, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.03 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 80.93 MB / 0.5843 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.471/0.6372, allocations: 159.1 MB / 0.7397 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005801/0.643, allocations: 4.559 MB / 0.7441 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.6435, allocations: 9.344 kB / 0.7442 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.6441, allocations: 95.28 kB / 0.7442 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009011/0.645, allocations: 314.5 kB / 0.7445 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.6458, allocations: 246.5 kB / 0.7448 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00091/0.6467, allocations: 0.7972 MB / 0.7456 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.6471, allocations: 174.9 kB / 0.7457 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.6482, allocations: 420.5 kB / 0.7461 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.6485, allocations: 200.6 kB / 0.7463 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.6485, allocations: 14.94 kB / 0.7463 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.6487, allocations: 69.19 kB / 0.7464 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6489, allocations: 88.59 kB / 0.7465 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.649, allocations: 111.4 kB / 0.7466 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.6493, allocations: 207.1 kB / 0.7468 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6493, allocations: 1.375 kB / 0.7468 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6493, allocations: 0 / 0.7468 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6493, allocations: 0 / 0.7468 GB, free: 4.938 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.0008799/0.6502, allocations: 0.5388 MB / 0.7473 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.6503, allocations: 10.81 kB / 0.7473 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.6503, allocations: 36.44 kB / 0.7474 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.6507, allocations: 271.4 kB / 0.7476 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.6507, allocations: 11.5 kB / 0.7476 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.6508, allocations: 16.41 kB / 0.7476 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.6512, allocations: 263.5 kB / 0.7479 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6513, allocations: 5.062 kB / 0.7479 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.6513, allocations: 7.031 kB / 0.7479 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.6513, allocations: 4.094 kB / 0.7479 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.6517, allocations: 161.3 kB / 0.7481 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.653, allocations: 1.368 MB / 0.7494 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.6533, allocations: 184.1 kB / 0.7496 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.6535, allocations: 88.36 kB / 0.7497 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/0.6538, allocations: 123.7 kB / 0.7498 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.6539, allocations: 45.09 kB / 0.7498 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.6539, allocations: 0 / 0.7498 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005908/0.6545, allocations: 209.9 kB / 0.75 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.6546, allocations: 186.6 kB / 0.7502 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.6549, allocations: 290.7 kB / 0.7505 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.6549, allocations: 25.7 kB / 0.7505 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.655, allocations: 152 kB / 0.7507 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.655, allocations: 36.83 kB / 0.7507 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.6551, allocations: 34.17 kB / 0.7507 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6552, allocations: 338.8 kB / 0.751 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.6554, allocations: 42.38 kB / 0.7511 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.6556, allocations: 128 kB / 0.7512 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.6558, allocations: 152.9 kB / 0.7514 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6558, allocations: 3.938 kB / 0.7514 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003484/0.6562, allocations: 195.5 kB / 0.7515 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6562, allocations: 5.5 kB / 0.7515 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6562, allocations: 2.125 kB / 0.7515 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6562, allocations: 2.812 kB / 0.7516 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.6564, allocations: 31.3 kB / 0.7516 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.6564, allocations: 2.812 kB / 0.7516 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.6566, allocations: 26.45 kB / 0.7516 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.6566, allocations: 11.53 kB / 0.7516 GB, free: 0.6172 MB / 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.0001281/0.6568, allocations: 149.5 kB / 0.7518 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.6569, allocations: 29.25 kB / 0.7518 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.6572, allocations: 127.5 kB / 0.7519 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6572, allocations: 1.062 kB / 0.7519 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6572, allocations: 2.688 kB / 0.7519 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6573, allocations: 2.656 kB / 0.7519 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008125/0.6581, allocations: 0.7779 MB / 0.7527 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6581, allocations: 2.188 kB / 0.7527 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.6582, allocations: 25.86 kB / 0.7527 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6582, allocations: 6.5 kB / 0.7527 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.6582, allocations: 2.719 kB / 0.7527 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6583, allocations: 4 kB / 0.7527 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6583, allocations: 9.969 kB / 0.7527 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.6588, allocations: 340.3 kB / 0.7531 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.6589, allocations: 107.4 kB / 0.7532 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.6589, allocations: 6.953 kB / 0.7532 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.659, allocations: 12.94 kB / 0.7532 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.6591, allocations: 16.83 kB / 0.7532 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6591, allocations: 5.328 kB / 0.7532 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000188/0.6593, allocations: 214.3 kB / 0.7534 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6593, allocations: 0 / 0.7534 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003472/0.6597, allocations: 56.34 kB / 0.7535 GB, free: 15.03 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.0003347/0.66, allocations: 144.9 kB / 0.7536 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.6604, allocations: 123.2 kB / 0.7537 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6604, allocations: 0 / 0.7537 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.6605, allocations: 57.88 kB / 0.7538 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.6613, allocations: 122.7 kB / 0.7539 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.6622, allocations: 0.5702 MB / 0.7544 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.6625, allocations: 0.7579 MB / 0.7552 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.6626, allocations: 20.84 kB / 0.7552 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6626, allocations: 0 / 0.7552 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.006253/0.6688, allocations: 3.791 MB / 0.7589 GB, free: 10.12 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)