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.00136/0.00136, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 287.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9184/0.9184, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 105.6 kB / 0.5952 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1637, allocations: 86.99 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4951/0.6588, allocations: 163.2 MB / 0.8396 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004803/0.6637, allocations: 4.575 MB / 0.844 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.6642, allocations: 11.06 kB / 0.8441 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.6646, allocations: 121.9 kB / 0.8442 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.6659, allocations: 0.5354 MB / 0.8447 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.6677, allocations: 0.7663 MB / 0.8454 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007323/0.6685, allocations: 0.5811 MB / 0.846 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.6689, allocations: 211.8 kB / 0.8462 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.6699, allocations: 463 kB / 0.8466 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.6705, allocations: 287.9 kB / 0.8469 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.6706, allocations: 21.69 kB / 0.8469 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.6723, allocations: 0.999 MB / 0.8479 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.6724, allocations: 91.84 kB / 0.848 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.6726, allocations: 121.6 kB / 0.8481 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.6735, allocations: 0.714 MB / 0.8488 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6736, allocations: 0 / 0.8488 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6736, allocations: 0 / 0.8488 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.6736, allocations: 0 / 0.8488 GB, free: 13.58 MB / 0.5762 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.0009088/0.6745, allocations: 0.5953 MB / 0.8494 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6745, allocations: 7.719 kB / 0.8494 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006753/0.6752, allocations: 74.81 kB / 0.8495 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.6756, allocations: 297.8 kB / 0.8498 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.6756, allocations: 15.06 kB / 0.8498 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.6757, allocations: 23 kB / 0.8498 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.6762, allocations: 283.4 kB / 0.8501 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6762, allocations: 0 / 0.8501 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.6762, allocations: 6.5 kB / 0.8501 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.6762, allocations: 7.438 kB / 0.8501 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.6766, allocations: 215.1 kB / 0.8503 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.6781, allocations: 1.246 MB / 0.8515 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.6784, allocations: 174.9 kB / 0.8517 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.6786, allocations: 110.7 kB / 0.8518 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/0.6793, allocations: 332.6 kB / 0.8521 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.6794, allocations: 49.56 kB / 0.8521 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.6794, allocations: 0 / 0.8521 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007239/0.6801, allocations: 275.5 kB / 0.8524 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.6802, allocations: 164.8 kB / 0.8526 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.6804, allocations: 279.7 kB / 0.8528 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.6805, allocations: 36.08 kB / 0.8529 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6806, allocations: 144.8 kB / 0.853 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.6806, allocations: 48.58 kB / 0.853 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.6807, allocations: 37.77 kB / 0.8531 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6809, allocations: 341.9 kB / 0.8534 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.681, allocations: 66.16 kB / 0.8535 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.6812, allocations: 155.1 kB / 0.8536 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.6816, allocations: 204.1 kB / 0.8538 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6816, allocations: 6.391 kB / 0.8538 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004986/0.6821, allocations: 242.1 kB / 0.8541 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6821, allocations: 6.406 kB / 0.8541 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6821, allocations: 1.594 kB / 0.8541 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6822, allocations: 3.219 kB / 0.8541 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.6823, allocations: 44.12 kB / 0.8541 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6824, allocations: 4.938 kB / 0.8541 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.6825, allocations: 28.14 kB / 0.8541 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.6826, allocations: 13.03 kB / 0.8542 GB, free: 9.07 MB / 0.5762 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.0001245/0.6827, allocations: 153.2 kB / 0.8543 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.6829, allocations: 32.22 kB / 0.8543 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.6833, allocations: 190.6 kB / 0.8545 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6833, allocations: 2.062 kB / 0.8545 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6833, allocations: 3.094 kB / 0.8545 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6834, allocations: 0 / 0.8545 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008885/0.6842, allocations: 0.8488 MB / 0.8553 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.6843, allocations: 2.938 kB / 0.8553 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.6844, allocations: 27.58 kB / 0.8554 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.6844, allocations: 11.88 kB / 0.8554 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.6844, allocations: 6.75 kB / 0.8554 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.6844, allocations: 2.094 kB / 0.8554 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6844, allocations: 2.25 kB / 0.8554 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.685, allocations: 334 kB / 0.8557 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/0.6851, allocations: 126.7 kB / 0.8558 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.6851, allocations: 10.59 kB / 0.8558 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.6853, allocations: 4.938 kB / 0.8558 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.6853, allocations: 16.77 kB / 0.8559 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.6853, allocations: 4.875 kB / 0.8559 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002132/0.6855, allocations: 232.5 kB / 0.8561 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6855, allocations: 0 / 0.8561 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004469/0.686, allocations: 91.23 kB / 0.8562 GB, free: 7.363 MB / 0.5762 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.0004821/0.6865, allocations: 219.2 kB / 0.8564 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.6869, allocations: 156.8 kB / 0.8565 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6869, allocations: 4.594 kB / 0.8565 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.687, allocations: 64.5 kB / 0.8566 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.6878, allocations: 137.5 kB / 0.8567 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/0.6886, allocations: 0.5043 MB / 0.8572 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.6889, allocations: 0.7626 MB / 0.858 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.6891, allocations: 66.14 kB / 0.858 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.6891, allocations: 22.19 kB / 0.8581 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6891, allocations: 0 / 0.8581 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of Templates: time 0.00984/0.699, allocations: 5.817 MB / 0.8637 GB, free: 3.016 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)