Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005337/0.005337, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001357/0.001357, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 63.89 kB / 0.5862 GB, free: 2.715 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4541, allocations: 81.03 MB / 0.6654 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1941/0.6482, allocations: 163.2 MB / 0.8248 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006124/0.6543, allocations: 4.591 MB / 0.8293 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/0.6549, allocations: 7.938 kB / 0.8293 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.6554, allocations: 131 kB / 0.8294 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.6569, allocations: 0.5367 MB / 0.8299 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.6589, allocations: 0.7698 MB / 0.8307 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009114/0.6598, allocations: 0.5846 MB / 0.8312 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.6602, allocations: 209.2 kB / 0.8314 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.6614, allocations: 458.3 kB / 0.8319 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.662, allocations: 298.8 kB / 0.8322 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.6621, allocations: 20 kB / 0.8322 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.664, allocations: 0.9977 MB / 0.8331 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.6642, allocations: 83.78 kB / 0.8332 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.6644, allocations: 127.3 kB / 0.8333 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.6658, allocations: 0.722 MB / 0.8341 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6658, allocations: 4 kB / 0.8341 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6658, allocations: 0 / 0.8341 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.6658, allocations: 0 / 0.8341 GB, free: 3.605 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001094/0.6669, allocations: 0.6066 MB / 0.8346 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.667, allocations: 12.03 kB / 0.8347 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007058/0.6677, allocations: 71.78 kB / 0.8347 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.6682, allocations: 307.4 kB / 0.835 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.6682, allocations: 16 kB / 0.835 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.6682, allocations: 16 kB / 0.8351 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.6688, allocations: 291.3 kB / 0.8353 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6688, allocations: 4 kB / 0.8353 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.6688, allocations: 8 kB / 0.8353 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.6689, allocations: 7.938 kB / 0.8353 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.6693, allocations: 203.8 kB / 0.8355 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.671, allocations: 1.242 MB / 0.8368 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.6714, allocations: 165 kB / 0.8369 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.6716, allocations: 116.4 kB / 0.837 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007823/0.6724, allocations: 335.2 kB / 0.8373 GB, free: 15.92 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.6724, allocations: 38.55 kB / 0.8374 GB, free: 15.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.6724, allocations: 3.938 kB / 0.8374 GB, free: 15.87 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0009066/0.6733, allocations: 285.3 kB / 0.8377 GB, free: 15.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6735, allocations: 162.2 kB / 0.8378 GB, free: 15.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.6738, allocations: 290.9 kB / 0.8381 GB, free: 15.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.6738, allocations: 25.7 kB / 0.8381 GB, free: 15.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.674, allocations: 152.2 kB / 0.8383 GB, free: 14.92 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.674, allocations: 47.64 kB / 0.8383 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.6741, allocations: 41.7 kB / 0.8383 GB, free: 14.83 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6743, allocations: 326.8 kB / 0.8387 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.6744, allocations: 67.94 kB / 0.8387 GB, free: 14.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.6747, allocations: 148.5 kB / 0.8389 GB, free: 14.26 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.6751, allocations: 211.5 kB / 0.8391 GB, free: 14.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6751, allocations: 0 / 0.8391 GB, free: 14.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005541/0.6757, allocations: 253.3 kB / 0.8393 GB, free: 13.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6757, allocations: 4 kB / 0.8393 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6757, allocations: 4 kB / 0.8393 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6758, allocations: 4 kB / 0.8393 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.676, allocations: 39.91 kB / 0.8394 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.676, allocations: 3.938 kB / 0.8394 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.6762, allocations: 35.77 kB / 0.8394 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.6762, allocations: 8 kB / 0.8394 GB, free: 13.67 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.000159/0.6764, allocations: 153.9 kB / 0.8395 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.6766, allocations: 27.84 kB / 0.8396 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.6771, allocations: 182.3 kB / 0.8397 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6771, allocations: 8 kB / 0.8398 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6771, allocations: 3.938 kB / 0.8398 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6771, allocations: 0 / 0.8398 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.6782, allocations: 0.8588 MB / 0.8406 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.6783, allocations: 0 / 0.8406 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.6784, allocations: 27.92 kB / 0.8406 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6784, allocations: 0 / 0.8406 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.6784, allocations: 4 kB / 0.8406 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.6784, allocations: 3.984 kB / 0.8406 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6784, allocations: 4.156 kB / 0.8406 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.6791, allocations: 347.4 kB / 0.841 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6792, allocations: 112.9 kB / 0.8411 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.6792, allocations: 4 kB / 0.8411 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.6794, allocations: 11.98 kB / 0.8411 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.6795, allocations: 8.031 kB / 0.8411 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.6795, allocations: 7.938 kB / 0.8411 GB, free: 11.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000263/0.6797, allocations: 237.9 kB / 0.8413 GB, free: 11.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6798, allocations: 64 / 0.8413 GB, free: 11.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005032/0.6803, allocations: 99.8 kB / 0.8414 GB, free: 11.45 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0006542/0.6809, allocations: 222.1 kB / 0.8416 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.6814, allocations: 147.8 kB / 0.8418 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6814, allocations: 4 kB / 0.8418 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.6816, allocations: 63.83 kB / 0.8418 GB, free: 11.02 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007889/0.6824, allocations: 138.3 kB / 0.842 GB, free: 10.89 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008822/0.6833, allocations: 0.5109 MB / 0.8425 GB, free: 10.33 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.6837, allocations: 0.7519 MB / 0.8432 GB, free: 9.551 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.6839, allocations: 58.94 kB / 0.8433 GB, free: 9.496 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.684, allocations: 31.44 kB / 0.8433 GB, free: 9.465 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.684, allocations: 0 / 0.8433 GB, free: 9.465 MB / 0.67 GB Notification: Performance of Templates: time 0.01301/0.697, allocations: 5.827 MB / 0.849 GB, free: 3.711 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)