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.001325/0.001325, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.00143/0.00143, allocations: 187 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7991/0.7991, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.7 kB / 0.582 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1597, allocations: 80.2 MB / 0.6603 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5904/0.7502, allocations: 163.2 MB / 0.8197 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005829/0.7561, allocations: 4.578 MB / 0.8242 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005531/0.7567, allocations: 9.281 kB / 0.8242 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.7572, allocations: 130.1 kB / 0.8243 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.7586, allocations: 0.5399 MB / 0.8249 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.7606, allocations: 0.7684 MB / 0.8256 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.7614, allocations: 0.575 MB / 0.8262 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.7618, allocations: 219 kB / 0.8264 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.7629, allocations: 467 kB / 0.8268 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.7636, allocations: 287.6 kB / 0.8271 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.7636, allocations: 18.34 kB / 0.8271 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.7655, allocations: 1.004 MB / 0.8281 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.7656, allocations: 94.08 kB / 0.8282 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.7658, allocations: 124.8 kB / 0.8283 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.7669, allocations: 0.7213 MB / 0.829 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7669, allocations: 2.062 kB / 0.829 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7669, allocations: 0 / 0.829 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7669, allocations: 0 / 0.829 GB, free: 2.348 MB / 0.5919 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.001007/0.768, allocations: 0.5877 MB / 0.8296 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.768, allocations: 14.06 kB / 0.8296 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/0.7687, allocations: 75.33 kB / 0.8297 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.7691, allocations: 299.1 kB / 0.83 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.7692, allocations: 17.53 kB / 0.83 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.7692, allocations: 16.72 kB / 0.83 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.7697, allocations: 293 kB / 0.8303 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.7697, allocations: 0 / 0.8303 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.7698, allocations: 14.19 kB / 0.8303 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.7698, allocations: 5.719 kB / 0.8303 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.7702, allocations: 213.2 kB / 0.8305 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.7717, allocations: 1.233 MB / 0.8317 GB, free: 28 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.772, allocations: 179 kB / 0.8319 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.7722, allocations: 107.8 kB / 0.832 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.773, allocations: 333.4 kB / 0.8323 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.773, allocations: 44.8 kB / 0.8323 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.773, allocations: 0 / 0.8323 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007556/0.7738, allocations: 280.6 kB / 0.8326 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.7739, allocations: 156.8 kB / 0.8328 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.7742, allocations: 295.9 kB / 0.833 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.7742, allocations: 28.39 kB / 0.8331 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.7743, allocations: 146 kB / 0.8332 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.7744, allocations: 50.12 kB / 0.8333 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.7745, allocations: 45.11 kB / 0.8333 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7746, allocations: 337.7 kB / 0.8336 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.7748, allocations: 63.14 kB / 0.8337 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.775, allocations: 147.3 kB / 0.8338 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.7754, allocations: 210.5 kB / 0.834 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7754, allocations: 2.562 kB / 0.834 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004798/0.7759, allocations: 242 kB / 0.8343 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7759, allocations: 7.688 kB / 0.8343 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7759, allocations: 0 / 0.8343 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7759, allocations: 5.094 kB / 0.8343 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.7761, allocations: 35.81 kB / 0.8343 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7761, allocations: 14.33 kB / 0.8343 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.7763, allocations: 35.83 kB / 0.8344 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.7764, allocations: 7.906 kB / 0.8344 GB, free: 13.81 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.0001418/0.7765, allocations: 147.2 kB / 0.8345 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.7767, allocations: 28.64 kB / 0.8345 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.7771, allocations: 191.3 kB / 0.8347 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.7772, allocations: 2.5 kB / 0.8347 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.7772, allocations: 2.562 kB / 0.8347 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.7772, allocations: 3.938 kB / 0.8347 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009519/0.7781, allocations: 0.8539 MB / 0.8356 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7782, allocations: 6.188 kB / 0.8356 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.7783, allocations: 25.48 kB / 0.8356 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.7783, allocations: 2.844 kB / 0.8356 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.7783, allocations: 6.391 kB / 0.8356 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7783, allocations: 3.969 kB / 0.8356 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.7783, allocations: 3.938 kB / 0.8356 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.7789, allocations: 342.2 kB / 0.8359 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.779, allocations: 117.7 kB / 0.836 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.7791, allocations: 2.719 kB / 0.836 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.7792, allocations: 12.95 kB / 0.8361 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.7793, allocations: 8.469 kB / 0.8361 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.7793, allocations: 3 kB / 0.8361 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002232/0.7795, allocations: 242.3 kB / 0.8363 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7795, allocations: 0 / 0.8363 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004897/0.78, allocations: 91.56 kB / 0.8364 GB, free: 12.11 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.0005636/0.7806, allocations: 229.1 kB / 0.8366 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.781, allocations: 146.4 kB / 0.8367 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.781, allocations: 0.5 kB / 0.8367 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.7812, allocations: 67.02 kB / 0.8368 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000719/0.7819, allocations: 131.9 kB / 0.8369 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.7827, allocations: 0.5289 MB / 0.8374 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.783, allocations: 0.7547 MB / 0.8382 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.7831, allocations: 28.55 kB / 0.8382 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.7831, allocations: 4 kB / 0.8382 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Templates: time 0.007763/0.7909, allocations: 5.239 MB / 0.8433 GB, free: 7.945 MB / 0.6075 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)