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.001379/0.001379, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001308/0.001308, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.457/1.457, 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.8566/0.8566, allocations: 135.2 MB / 426.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.27 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1596, allocations: 80.93 MB / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5699/0.7295, allocations: 163.7 MB / 0.8252 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006143/0.7357, allocations: 4.589 MB / 0.8297 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.7361, allocations: 11.59 kB / 0.8297 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.7366, allocations: 125.9 kB / 0.8298 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.738, allocations: 0.5571 MB / 0.8304 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.74, allocations: 0.7939 MB / 0.8311 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007891/0.7408, allocations: 0.5803 MB / 0.8317 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.7411, allocations: 179.2 kB / 0.8319 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.7422, allocations: 479.7 kB / 0.8323 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.7429, allocations: 294.2 kB / 0.8326 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.7429, allocations: 17.72 kB / 0.8326 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.7447, allocations: 1.002 MB / 0.8336 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.7448, allocations: 93.86 kB / 0.8337 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.7449, allocations: 121.1 kB / 0.8338 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.746, allocations: 0.7298 MB / 0.8345 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7461, allocations: 0 / 0.8345 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7461, allocations: 4 kB / 0.8345 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7461, allocations: 0 / 0.8345 GB, free: 11.97 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001015/0.7471, allocations: 0.6066 MB / 0.8351 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7471, allocations: 15.25 kB / 0.8351 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.7478, allocations: 72.8 kB / 0.8352 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.7483, allocations: 299.8 kB / 0.8355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.7483, allocations: 11.38 kB / 0.8355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.7483, allocations: 24.97 kB / 0.8355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.7488, allocations: 284.9 kB / 0.8358 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7489, allocations: 3.938 kB / 0.8358 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.7489, allocations: 10.41 kB / 0.8358 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7489, allocations: 4.844 kB / 0.8358 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.7493, allocations: 202.7 kB / 0.836 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.751, allocations: 1.241 MB / 0.8372 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.7513, allocations: 168.8 kB / 0.8374 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.7515, allocations: 115.2 kB / 0.8375 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007723/0.7523, allocations: 330 kB / 0.8378 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.7523, allocations: 44.38 kB / 0.8378 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.7523, allocations: 0 / 0.8378 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007762/0.7531, allocations: 281.6 kB / 0.8381 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.7532, allocations: 160.8 kB / 0.8383 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.7535, allocations: 288.3 kB / 0.8385 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.7535, allocations: 29.7 kB / 0.8386 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.7536, allocations: 152.6 kB / 0.8387 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.7537, allocations: 41.33 kB / 0.8388 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.7538, allocations: 54.67 kB / 0.8388 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7539, allocations: 336.9 kB / 0.8391 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.7541, allocations: 67.34 kB / 0.8392 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.7543, allocations: 144.7 kB / 0.8393 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.7547, allocations: 211.5 kB / 0.8395 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7547, allocations: 0 / 0.8395 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005126/0.7552, allocations: 250.2 kB / 0.8398 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7552, allocations: 8.422 kB / 0.8398 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7552, allocations: 2.938 kB / 0.8398 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7552, allocations: 2.75 kB / 0.8398 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.7554, allocations: 35.52 kB / 0.8398 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7554, allocations: 5 kB / 0.8398 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.7556, allocations: 37.67 kB / 0.8399 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.7556, allocations: 11.88 kB / 0.8399 GB, free: 7.414 MB / 0.6075 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.0001604/0.7558, allocations: 147.3 kB / 0.84 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.7559, allocations: 28.89 kB / 0.84 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.7564, allocations: 182.9 kB / 0.8402 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.7564, allocations: 6.766 kB / 0.8402 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7564, allocations: 0 / 0.8402 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7565, allocations: 6.312 kB / 0.8402 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.7575, allocations: 0.8623 MB / 0.8411 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.7575, allocations: 3.938 kB / 0.8411 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.7576, allocations: 22.98 kB / 0.8411 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.7576, allocations: 2.469 kB / 0.8411 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.7577, allocations: 6.594 kB / 0.8411 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.7577, allocations: 6.719 kB / 0.8411 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7577, allocations: 0 / 0.8411 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.7582, allocations: 338.8 kB / 0.8414 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.7584, allocations: 115 kB / 0.8415 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.7584, allocations: 6.125 kB / 0.8416 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.7586, allocations: 11.61 kB / 0.8416 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.7586, allocations: 10.92 kB / 0.8416 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.7586, allocations: 5.969 kB / 0.8416 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002402/0.7589, allocations: 232.9 kB / 0.8418 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7589, allocations: 3.938 kB / 0.8418 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004806/0.7593, allocations: 99.75 kB / 0.8419 GB, free: 5.711 MB / 0.6075 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.0005755/0.7599, allocations: 222.9 kB / 0.8421 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003975/0.7603, allocations: 153.4 kB / 0.8423 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7603, allocations: 0 / 0.8423 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.7605, allocations: 54.41 kB / 0.8423 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.7612, allocations: 141.8 kB / 0.8424 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.7621, allocations: 0.5259 MB / 0.843 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.7625, allocations: 0.7623 MB / 0.8437 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.7625, allocations: 24.75 kB / 0.8437 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.7625, allocations: 0 / 0.8437 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.00805/0.7706, allocations: 5.274 MB / 0.8489 GB, free: 1.5 MB / 0.6075 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)