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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001687, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001902/0.001902, allocations: 194 kB / 16.14 MB, free: 6.695 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8208/0.8208, allocations: 132.2 MB / 422.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.22 kB / 0.5011 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1799, allocations: 80.21 MB / 0.5794 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.464/0.644, allocations: 161 MB / 0.7366 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006517/0.6506, allocations: 4.627 MB / 0.7411 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.6513, allocations: 9.156 kB / 0.7412 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.652, allocations: 95.86 kB / 0.7412 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.6539, allocations: 0.5081 MB / 0.7417 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.6564, allocations: 0.725 MB / 0.7425 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009767/0.6574, allocations: 0.8086 MB / 0.7432 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.6577, allocations: 185.1 kB / 0.7434 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.6589, allocations: 420.6 kB / 0.7438 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.6596, allocations: 297.3 kB / 0.7441 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.6597, allocations: 11.34 kB / 0.7441 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.6622, allocations: 1.162 MB / 0.7452 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.6623, allocations: 80.66 kB / 0.7453 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.6625, allocations: 114.2 kB / 0.7454 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.6637, allocations: 0.787 MB / 0.7462 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6637, allocations: 0 / 0.7462 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6637, allocations: 0 / 0.7462 GB, free: 7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.6637, allocations: 0 / 0.7462 GB, free: 7 MB / 0.5606 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.001024/0.6647, allocations: 0.5854 MB / 0.7468 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6648, allocations: 10.09 kB / 0.7468 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.6655, allocations: 80.52 kB / 0.7469 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.6659, allocations: 286 kB / 0.7471 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6659, allocations: 19.84 kB / 0.7472 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.666, allocations: 18.53 kB / 0.7472 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.6665, allocations: 278.4 kB / 0.7474 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.6665, allocations: 6.344 kB / 0.7474 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.6666, allocations: 15.94 kB / 0.7475 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.6666, allocations: 5.094 kB / 0.7475 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.667, allocations: 201.5 kB / 0.7477 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.6686, allocations: 1.245 MB / 0.7489 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.669, allocations: 173 kB / 0.749 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.6692, allocations: 111.7 kB / 0.7491 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007757/0.6699, allocations: 333.3 kB / 0.7495 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.67, allocations: 41.08 kB / 0.7495 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.67, allocations: 0 / 0.7495 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007717/0.6708, allocations: 276.3 kB / 0.7498 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.6709, allocations: 158.5 kB / 0.7499 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.6712, allocations: 291.2 kB / 0.7502 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.6712, allocations: 30.2 kB / 0.7502 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.6713, allocations: 149 kB / 0.7504 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.6714, allocations: 48.39 kB / 0.7504 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.6715, allocations: 45.83 kB / 0.7505 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6716, allocations: 337.5 kB / 0.7508 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.6718, allocations: 69.28 kB / 0.7508 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.672, allocations: 146.5 kB / 0.751 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.6724, allocations: 218.1 kB / 0.7512 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6724, allocations: 2.844 kB / 0.7512 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005366/0.6729, allocations: 245.5 kB / 0.7514 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.673, allocations: 7.906 kB / 0.7514 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.673, allocations: 3.125 kB / 0.7514 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.673, allocations: 2.938 kB / 0.7514 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.6732, allocations: 42.72 kB / 0.7515 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.557e-06/0.6732, allocations: 3.5 kB / 0.7515 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.6735, allocations: 29.67 kB / 0.7515 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.6735, allocations: 15 kB / 0.7515 GB, free: 2.484 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 (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.0001601/0.6737, allocations: 149.9 kB / 0.7517 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.6738, allocations: 28.2 kB / 0.7517 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.6743, allocations: 193 kB / 0.7519 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6743, allocations: 2.812 kB / 0.7519 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6744, allocations: 2.5 kB / 0.7519 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.6744, allocations: 3.938 kB / 0.7519 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.6754, allocations: 0.8494 MB / 0.7527 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6754, allocations: 2.562 kB / 0.7527 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.6755, allocations: 26.33 kB / 0.7527 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6755, allocations: 0 / 0.7527 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6756, allocations: 14.67 kB / 0.7528 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6756, allocations: 2.719 kB / 0.7528 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6756, allocations: 2.531 kB / 0.7528 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.6761, allocations: 345.9 kB / 0.7531 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.6762, allocations: 112.7 kB / 0.7532 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.6763, allocations: 11.98 kB / 0.7532 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.6765, allocations: 7.984 kB / 0.7532 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.6765, allocations: 11.98 kB / 0.7532 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.6765, allocations: 15.5 kB / 0.7532 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002424/0.6768, allocations: 237.8 kB / 0.7535 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6768, allocations: 0 / 0.7535 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004937/0.6773, allocations: 99.91 kB / 0.7536 GB, free: 0.4961 MB / 0.5606 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.0005122/0.6778, allocations: 213.5 kB / 0.7538 GB, free: 296 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.6782, allocations: 143.8 kB / 0.7539 GB, free: 152 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6782, allocations: 0 / 0.7539 GB, free: 152 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.6784, allocations: 64.7 kB / 0.754 GB, free: 88 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/0.6792, allocations: 133.8 kB / 0.7541 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.68, allocations: 0.5513 MB / 0.7546 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6803, allocations: 0.7599 MB / 0.7554 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002118/0.6806, allocations: 74.17 kB / 0.7554 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.6806, allocations: 23.38 kB / 0.7555 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.6806, allocations: 4 kB / 0.7555 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of Templates: time 0.009894/0.6905, allocations: 5.569 MB / 0.7609 GB, free: 9.012 MB / 0.5762 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)