Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008617/0.0008617, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8439/0.8439, allocations: 135.2 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 14.61 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 82.29 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4006/0.541, allocations: 141.8 MB / 0.7257 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006113/0.5472, allocations: 5.277 MB / 0.7308 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.5476, allocations: 14.75 kB / 0.7308 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.5482, allocations: 184.2 kB / 0.731 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.55, allocations: 0.7096 MB / 0.7317 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.5514, allocations: 0.5011 MB / 0.7322 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.552, allocations: 458.5 kB / 0.7326 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.5524, allocations: 230.5 kB / 0.7328 GB, free: 2.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.5536, allocations: 0.4935 MB / 0.7333 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000735/0.5543, allocations: 336.6 kB / 0.7336 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.5544, allocations: 14.94 kB / 0.7337 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.5559, allocations: 0.551 MB / 0.7342 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.556, allocations: 98.59 kB / 0.7343 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.5561, allocations: 86.73 kB / 0.7344 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.5568, allocations: 463.5 kB / 0.7348 GB, free: 2.129 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5568, allocations: 4 kB / 0.7348 GB, free: 2.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5569, allocations: 0 / 0.7348 GB, free: 2.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.5569, allocations: 0 / 0.7348 GB, free: 2.125 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009133/0.5578, allocations: 0.6135 MB / 0.7354 GB, free: 1.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5578, allocations: 10.28 kB / 0.7354 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.5588, allocations: 135 kB / 0.7356 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.5592, allocations: 311.9 kB / 0.7359 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.5593, allocations: 51.41 kB / 0.7359 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.5593, allocations: 30.22 kB / 0.7359 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.56, allocations: 368.5 kB / 0.7363 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.56, allocations: 3.438 kB / 0.7363 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.56, allocations: 10.66 kB / 0.7363 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.56, allocations: 9.297 kB / 0.7363 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005187/0.5606, allocations: 282.1 kB / 0.7366 GB, free: 0.9961 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.5623, allocations: 1.495 MB / 0.738 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.5628, allocations: 164.6 kB / 0.7382 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/0.5632, allocations: 139.7 kB / 0.7383 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.5632, allocations: 40.91 kB / 0.7384 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.5632, allocations: 0 / 0.7384 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008523/0.5641, allocations: 383.9 kB / 0.7387 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.5641, allocations: 51.41 kB / 0.7388 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.5644, allocations: 318.2 kB / 0.7391 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.5645, allocations: 33.08 kB / 0.7391 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5646, allocations: 190.1 kB / 0.7393 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.5647, allocations: 48.75 kB / 0.7393 GB, free: 15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.5647, allocations: 0 / 0.7393 GB, free: 15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5648, allocations: 341.7 kB / 0.7397 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.565, allocations: 93.14 kB / 0.7398 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.5652, allocations: 170.8 kB / 0.7399 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.5654, allocations: 114.9 kB / 0.74 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5654, allocations: 3.281 kB / 0.74 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005202/0.566, allocations: 304.2 kB / 0.7403 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.566, allocations: 6.219 kB / 0.7403 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.566, allocations: 3.25 kB / 0.7403 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.566, allocations: 3.312 kB / 0.7403 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5662, allocations: 47.3 kB / 0.7404 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5662, allocations: 10.55 kB / 0.7404 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.5665, allocations: 37.62 kB / 0.7404 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.5665, allocations: 13.06 kB / 0.7404 GB, free: 14.35 MB / 0.5606 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.5667, allocations: 159.6 kB / 0.7406 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.5667, allocations: 26.56 kB / 0.7406 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.5674, allocations: 329.6 kB / 0.7409 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5674, allocations: 2.656 kB / 0.7409 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5674, allocations: 0 / 0.7409 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5674, allocations: 5.5 kB / 0.7409 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.5687, allocations: 0.8157 MB / 0.7417 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5687, allocations: 0 / 0.7417 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.5689, allocations: 42.97 kB / 0.7418 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.5689, allocations: 0 / 0.7418 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.5689, allocations: 14.14 kB / 0.7418 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5689, allocations: 12.17 kB / 0.7418 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5689, allocations: 5 kB / 0.7418 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.5696, allocations: 0.4927 MB / 0.7423 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.5697, allocations: 125.5 kB / 0.7424 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.5698, allocations: 10.16 kB / 0.7424 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.57, allocations: 28.36 kB / 0.7424 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.5701, allocations: 18.45 kB / 0.7425 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.5701, allocations: 14.16 kB / 0.7425 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001999/0.5703, allocations: 225.1 kB / 0.7427 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5703, allocations: 0 / 0.7427 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005075/0.5708, allocations: 112.2 kB / 0.7428 GB, free: 12.31 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000451/0.5713, allocations: 210.8 kB / 0.743 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.5718, allocations: 237.8 kB / 0.7432 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5718, allocations: 0 / 0.7432 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.572, allocations: 128.1 kB / 0.7433 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.5727, allocations: 150.2 kB / 0.7435 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.5736, allocations: 0.7 MB / 0.7442 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.574, allocations: 0.7971 MB / 0.745 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002729/0.5743, allocations: 89.03 kB / 0.745 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.5743, allocations: 30.3 kB / 0.7451 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5743, allocations: 0 / 0.7451 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.01024/0.5846, allocations: 6.831 MB / 0.7517 GB, free: 3.652 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: