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.005354/0.005354, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001167/0.001167, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9589/0.9589, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.89 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4366, allocations: 80.91 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1844/0.6211, allocations: 161.4 MB / 0.8222 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005957/0.6271, allocations: 4.549 MB / 0.8267 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.6275, allocations: 7.938 kB / 0.8267 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.6281, allocations: 127 kB / 0.8268 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.6292, allocations: 342.4 kB / 0.8271 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.63, allocations: 282.7 kB / 0.8274 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007452/0.6308, allocations: 0.5573 MB / 0.828 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.6313, allocations: 209.2 kB / 0.8282 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.6324, allocations: 474.2 kB / 0.8286 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.6328, allocations: 183.3 kB / 0.8288 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.6329, allocations: 16 kB / 0.8288 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.6331, allocations: 87.86 kB / 0.8289 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.6333, allocations: 87.73 kB / 0.829 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.6334, allocations: 123.4 kB / 0.8291 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.6339, allocations: 301 kB / 0.8294 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6339, allocations: 3.938 kB / 0.8294 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6339, allocations: 0 / 0.8294 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.6339, allocations: 0 / 0.8294 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.0009014/0.6348, allocations: 0.5333 MB / 0.8299 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6349, allocations: 8.031 kB / 0.8299 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.6349, allocations: 27.72 kB / 0.8299 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.6354, allocations: 283.4 kB / 0.8302 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6355, allocations: 12 kB / 0.8302 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.6355, allocations: 24 kB / 0.8302 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.636, allocations: 265.8 kB / 0.8305 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.636, allocations: 3.938 kB / 0.8305 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.636, allocations: 4 kB / 0.8305 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.636, allocations: 12 kB / 0.8305 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.6364, allocations: 151.7 kB / 0.8306 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.6379, allocations: 1.356 MB / 0.832 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.6383, allocations: 191.6 kB / 0.8322 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.6384, allocations: 101 kB / 0.8323 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.6388, allocations: 121 kB / 0.8324 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.6389, allocations: 42.56 kB / 0.8324 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.6389, allocations: 0 / 0.8324 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000633/0.6395, allocations: 209.7 kB / 0.8326 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.6396, allocations: 183.9 kB / 0.8328 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.6399, allocations: 287 kB / 0.8331 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.6399, allocations: 33.7 kB / 0.8331 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.64, allocations: 147.8 kB / 0.8332 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.6401, allocations: 39.38 kB / 0.8333 GB, free: 4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.6401, allocations: 37.61 kB / 0.8333 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6403, allocations: 342.8 kB / 0.8336 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.6404, allocations: 39.97 kB / 0.8337 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.6406, allocations: 111.7 kB / 0.8338 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.6409, allocations: 162.9 kB / 0.8339 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.6409, allocations: 4 kB / 0.8339 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003858/0.6413, allocations: 189.1 kB / 0.8341 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6413, allocations: 8 kB / 0.8341 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6413, allocations: 3.938 kB / 0.8341 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.6414, allocations: 4 kB / 0.8341 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.6415, allocations: 32.2 kB / 0.8342 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.6415, allocations: 7.984 kB / 0.8342 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.6417, allocations: 19.84 kB / 0.8342 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.6417, allocations: 11.98 kB / 0.8342 GB, free: 2.973 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.0001417/0.6419, allocations: 153.6 kB / 0.8343 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.6421, allocations: 23.72 kB / 0.8344 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.6424, allocations: 127 kB / 0.8345 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6424, allocations: 4 kB / 0.8345 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6424, allocations: 0 / 0.8345 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.6425, allocations: 11.92 kB / 0.8345 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.6434, allocations: 0.7691 MB / 0.8353 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6434, allocations: 4 kB / 0.8353 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.6435, allocations: 19.98 kB / 0.8353 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.6435, allocations: 7.938 kB / 0.8353 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.6435, allocations: 4 kB / 0.8353 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.6436, allocations: 7.984 kB / 0.8353 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6436, allocations: 3.938 kB / 0.8353 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.6441, allocations: 331.6 kB / 0.8356 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6443, allocations: 116.8 kB / 0.8357 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.6443, allocations: 8 kB / 0.8357 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.6444, allocations: 8.062 kB / 0.8357 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.6445, allocations: 15.92 kB / 0.8358 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.6445, allocations: 4 kB / 0.8358 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002165/0.6448, allocations: 217.8 kB / 0.836 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6448, allocations: 0 / 0.836 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003684/0.6451, allocations: 59.92 kB / 0.836 GB, free: 0.9531 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.0003709/0.6455, allocations: 138.3 kB / 0.8362 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.6459, allocations: 119.8 kB / 0.8363 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6459, allocations: 0 / 0.8363 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.6461, allocations: 60.66 kB / 0.8363 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.6469, allocations: 130.5 kB / 0.8365 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.6477, allocations: 0.4885 MB / 0.8369 GB, free: 15.99 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.6481, allocations: 0.7597 MB / 0.8377 GB, free: 15.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.6483, allocations: 54.23 kB / 0.8377 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.6483, allocations: 19.44 kB / 0.8377 GB, free: 15.13 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.6483, allocations: 0 / 0.8377 GB, free: 15.13 MB / 0.67 GB Notification: Performance of Templates: time 0.00905/0.6574, allocations: 4.25 MB / 0.8419 GB, free: 10.95 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)