Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001517/0.001517, allocations: 109.2 kB / 16.41 MB, free: 5.996 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.00156/0.00156, allocations: 188.4 kB / 17.34 MB, free: 5.602 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002769/0.002769, allocations: 285.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4652, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1962/0.6614, allocations: 163.7 MB / 0.9269 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006055/0.6675, allocations: 4.591 MB / 0.9314 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.6678, allocations: 11.94 kB / 0.9314 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.6683, allocations: 123.1 kB / 0.9315 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.6696, allocations: 0.564 MB / 0.9321 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.6714, allocations: 0.7846 MB / 0.9328 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.000692/0.6721, allocations: 0.5768 MB / 0.9334 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.6724, allocations: 177.2 kB / 0.9336 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.6733, allocations: 478.2 kB / 0.934 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.6739, allocations: 302.4 kB / 0.9343 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.6739, allocations: 20 kB / 0.9343 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.6755, allocations: 1.005 MB / 0.9353 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.6756, allocations: 95.72 kB / 0.9354 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.6757, allocations: 123.4 kB / 0.9355 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.6767, allocations: 0.7267 MB / 0.9362 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6767, allocations: 0 / 0.9362 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6767, allocations: 0 / 0.9362 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6768, allocations: 4 kB / 0.9362 GB, free: 6.062 MB / 0.7012 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.001001/0.6778, allocations: 0.6028 MB / 0.9368 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6778, allocations: 8.031 kB / 0.9368 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006684/0.6785, allocations: 83.69 kB / 0.9369 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.6789, allocations: 291.5 kB / 0.9372 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.6789, allocations: 19.95 kB / 0.9372 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.679, allocations: 23.98 kB / 0.9372 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.6795, allocations: 279.5 kB / 0.9375 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.6795, allocations: 3.938 kB / 0.9375 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.6795, allocations: 8 kB / 0.9375 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.6795, allocations: 11.94 kB / 0.9375 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.68, allocations: 204.4 kB / 0.9377 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.6816, allocations: 1.238 MB / 0.9389 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.6819, allocations: 180.9 kB / 0.9391 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.6821, allocations: 104.2 kB / 0.9392 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007748/0.6829, allocations: 327.4 kB / 0.9395 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.683, allocations: 46.5 kB / 0.9395 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.683, allocations: 0 / 0.9395 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.000783/0.6837, allocations: 277.2 kB / 0.9398 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.6838, allocations: 162.7 kB / 0.94 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.6841, allocations: 283 kB / 0.9402 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.6842, allocations: 29.7 kB / 0.9403 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.6843, allocations: 147.9 kB / 0.9404 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.6843, allocations: 51.59 kB / 0.9404 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.6844, allocations: 37.7 kB / 0.9405 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.6846, allocations: 338.8 kB / 0.9408 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.6848, allocations: 67.94 kB / 0.9409 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.685, allocations: 158.7 kB / 0.941 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.6854, allocations: 207.5 kB / 0.9412 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6854, allocations: 0 / 0.9412 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005299/0.686, allocations: 253.2 kB / 0.9415 GB, free: 244 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.686, allocations: 4 kB / 0.9415 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.686, allocations: 7.938 kB / 0.9415 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.686, allocations: 0 / 0.9415 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.6862, allocations: 43.92 kB / 0.9415 GB, free: 188 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.6862, allocations: 4.234 kB / 0.9415 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6864, allocations: 31.78 kB / 0.9415 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.6864, allocations: 19.92 kB / 0.9416 GB, free: 132 kB / 0.7012 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.000165/0.6866, allocations: 148.2 kB / 0.9417 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6867, allocations: 23.86 kB / 0.9417 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.6872, allocations: 189.7 kB / 0.9419 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6872, allocations: 4 kB / 0.9419 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6872, allocations: 0 / 0.9419 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6872, allocations: 384 / 0.9419 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.6883, allocations: 0.8588 MB / 0.9428 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6883, allocations: 0 / 0.9428 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.6884, allocations: 23.98 kB / 0.9428 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6884, allocations: 12.03 kB / 0.9428 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.6884, allocations: 8 kB / 0.9428 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6884, allocations: 3.938 kB / 0.9428 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6884, allocations: 4 kB / 0.9428 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.689, allocations: 339.5 kB / 0.9431 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6891, allocations: 117 kB / 0.9432 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.6892, allocations: 11.98 kB / 0.9433 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.6893, allocations: 4 kB / 0.9433 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.6894, allocations: 12.05 kB / 0.9433 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.6894, allocations: 8 kB / 0.9433 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002411/0.6896, allocations: 233.9 kB / 0.9435 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6896, allocations: 0 / 0.9435 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004629/0.6901, allocations: 99.8 kB / 0.9436 GB, free: 13.91 MB / 0.7169 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.000556/0.6906, allocations: 214.7 kB / 0.9438 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.691, allocations: 143.8 kB / 0.9439 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.691, allocations: 0 / 0.9439 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.6912, allocations: 60.59 kB / 0.944 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.692, allocations: 141.7 kB / 0.9441 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008726/0.6929, allocations: 0.5071 MB / 0.9446 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.6933, allocations: 0.7597 MB / 0.9454 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000189/0.6935, allocations: 70.86 kB / 0.9454 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.6935, allocations: 23.44 kB / 0.9455 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.6935, allocations: 0 / 0.9455 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.01119/0.7047, allocations: 5.843 MB / 0.9512 GB, free: 6.168 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)