Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 403.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 109.2 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009949/0.000995, allocations: 51.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1246, allocations: 80.21 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4555/0.5802, allocations: 161 MB / 0.7974 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005915/0.5861, allocations: 4.627 MB / 0.8019 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.5866, allocations: 15.94 kB / 0.8019 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.5871, allocations: 91.36 kB / 0.802 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.5886, allocations: 0.5058 MB / 0.8025 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.5906, allocations: 0.7179 MB / 0.8032 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0009535/0.5916, allocations: 0.8184 MB / 0.804 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.592, allocations: 181.5 kB / 0.8042 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009775/0.593, allocations: 434.4 kB / 0.8046 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.5936, allocations: 290.9 kB / 0.8048 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.5937, allocations: 16 kB / 0.8049 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.5956, allocations: 1.161 MB / 0.806 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.5958, allocations: 87.77 kB / 0.8061 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.5959, allocations: 119.3 kB / 0.8062 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.5974, allocations: 0.7713 MB / 0.8069 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5974, allocations: 0 / 0.8069 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.497e-06/0.5974, allocations: 3.984 kB / 0.807 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5974, allocations: 3.938 kB / 0.807 GB, free: 8.391 MB / 0.5417 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.001065/0.5985, allocations: 0.588 MB / 0.8075 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5985, allocations: 12.03 kB / 0.8075 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/0.5992, allocations: 79.58 kB / 0.8076 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.5996, allocations: 284.6 kB / 0.8079 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.5997, allocations: 12 kB / 0.8079 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.5997, allocations: 24 kB / 0.8079 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.6002, allocations: 291.4 kB / 0.8082 GB, free: 7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6002, allocations: 3.938 kB / 0.8082 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.6002, allocations: 11.94 kB / 0.8082 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.6003, allocations: 4 kB / 0.8082 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.6007, allocations: 200.4 kB / 0.8084 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.6023, allocations: 1.249 MB / 0.8096 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.6026, allocations: 173 kB / 0.8098 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.6028, allocations: 112.2 kB / 0.8099 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007107/0.6036, allocations: 327.3 kB / 0.8102 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6036, allocations: 46.55 kB / 0.8103 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.734e-06/0.6036, allocations: 0 / 0.8103 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0007695/0.6044, allocations: 277.6 kB / 0.8105 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.6045, allocations: 162.2 kB / 0.8107 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.6048, allocations: 279 kB / 0.8109 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.6048, allocations: 29.7 kB / 0.811 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.6049, allocations: 151.8 kB / 0.8111 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.605, allocations: 47.42 kB / 0.8112 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.6051, allocations: 41.7 kB / 0.8112 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6052, allocations: 335.1 kB / 0.8115 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.6054, allocations: 79.69 kB / 0.8116 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.6056, allocations: 145.3 kB / 0.8117 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.606, allocations: 224.1 kB / 0.812 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.606, allocations: 0 / 0.812 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005477/0.6065, allocations: 239.3 kB / 0.8122 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6066, allocations: 5.25 kB / 0.8122 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6066, allocations: 4 kB / 0.8122 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6066, allocations: 256 / 0.8122 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.6068, allocations: 51.91 kB / 0.8122 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6068, allocations: 0 / 0.8122 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.607, allocations: 39.61 kB / 0.8123 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.6071, allocations: 12 kB / 0.8123 GB, free: 2.477 MB / 0.5417 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.0001441/0.6072, allocations: 149.7 kB / 0.8124 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6074, allocations: 27.7 kB / 0.8125 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.6078, allocations: 189.7 kB / 0.8126 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6079, allocations: 8 kB / 0.8126 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6079, allocations: 0 / 0.8126 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6079, allocations: 3.938 kB / 0.8126 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.6089, allocations: 0.8472 MB / 0.8135 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6089, allocations: 3.938 kB / 0.8135 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.609, allocations: 31.92 kB / 0.8135 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.609, allocations: 7.875 kB / 0.8135 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.609, allocations: 7.984 kB / 0.8135 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6091, allocations: 0 / 0.8135 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6091, allocations: 4 kB / 0.8135 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/0.6135, allocations: 1.895 MB / 0.8154 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6136, allocations: 116.9 kB / 0.8155 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.6137, allocations: 7.984 kB / 0.8155 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.6139, allocations: 11.97 kB / 0.8155 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.6139, allocations: 15.92 kB / 0.8155 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.6139, allocations: 4 kB / 0.8155 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002458/0.6142, allocations: 233.9 kB / 0.8158 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6142, allocations: 0 / 0.8158 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006316/0.6148, allocations: 124 kB / 0.8159 GB, free: 14.54 MB / 0.5573 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.0005496/0.6154, allocations: 212.7 kB / 0.8161 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.6158, allocations: 159.7 kB / 0.8162 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6158, allocations: 0 / 0.8162 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.616, allocations: 56 kB / 0.8163 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.6168, allocations: 137.2 kB / 0.8164 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.6177, allocations: 0.6783 MB / 0.8171 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.618, allocations: 0.7638 MB / 0.8178 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000219/0.6183, allocations: 67.23 kB / 0.8179 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.6183, allocations: 27.44 kB / 0.8179 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.6183, allocations: 3.938 kB / 0.8179 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.01048/0.6288, allocations: 5.704 MB / 0.8235 GB, free: 6.711 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)