Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009649/0.0009647, allocations: 174 kB / 326.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007613/0.0007612, allocations: 87.98 kB / 0.6803 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 9 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1968, allocations: 105.4 MB / 0.8967 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1556/0.3525, allocations: 160.8 MB / 1.054 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4028/0.7553, allocations: 4.664 MB / 1.058 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.7557, allocations: 11.59 kB / 1.058 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.7561, allocations: 102 kB / 1.058 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.7573, allocations: 0.5048 MB / 1.059 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.759, allocations: 0.7099 MB / 1.06 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008599/0.7598, allocations: 0.8076 MB / 1.06 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.7601, allocations: 165.6 kB / 1.061 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.761, allocations: 432.7 kB / 1.061 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.7616, allocations: 282.4 kB / 1.061 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.7616, allocations: 11.84 kB / 1.061 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.7635, allocations: 1.159 MB / 1.062 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.7636, allocations: 81.36 kB / 1.062 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.7637, allocations: 116.7 kB / 1.063 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007969/0.7645, allocations: 0.4954 MB / 1.063 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7646, allocations: 0 / 1.063 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7646, allocations: 3 kB / 1.063 GB, free: 1.727 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7646, allocations: 0 / 1.063 GB, free: 1.727 MB / 0.698 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.0008984/0.7655, allocations: 0.5431 MB / 1.064 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.7655, allocations: 9.188 kB / 1.064 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006689/0.7662, allocations: 76.53 kB / 1.064 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.7666, allocations: 289.2 kB / 1.064 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7666, allocations: 14.25 kB / 1.064 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.7666, allocations: 18.84 kB / 1.064 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.7671, allocations: 295.6 kB / 1.064 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7671, allocations: 0 / 1.064 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.7672, allocations: 3.562 kB / 1.064 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.7672, allocations: 6.406 kB / 1.064 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.7676, allocations: 220 kB / 1.064 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.7692, allocations: 1.251 MB / 1.066 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.7695, allocations: 182.4 kB / 1.066 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.7697, allocations: 113.9 kB / 1.066 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007746/0.7705, allocations: 351.6 kB / 1.066 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.7706, allocations: 37.72 kB / 1.066 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/0.7706, allocations: 0 / 1.066 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0008394/0.7714, allocations: 301 kB / 1.067 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.7715, allocations: 163.4 kB / 1.067 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.7719, allocations: 283.1 kB / 1.067 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.7719, allocations: 30.7 kB / 1.067 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.772, allocations: 146.5 kB / 1.067 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.772, allocations: 51.17 kB / 1.067 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.7721, allocations: 19.19 kB / 1.067 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7722, allocations: 337 kB / 1.068 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.7724, allocations: 74.17 kB / 1.068 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.7726, allocations: 142.6 kB / 1.068 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.773, allocations: 224.5 kB / 1.068 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.773, allocations: 1.062 kB / 1.068 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005728/0.7736, allocations: 252.6 kB / 1.068 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.7737, allocations: 6.406 kB / 1.068 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7737, allocations: 2.906 kB / 1.068 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.7737, allocations: 2.406 kB / 1.068 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.7739, allocations: 40.98 kB / 1.068 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.7739, allocations: 11.69 kB / 1.068 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.7742, allocations: 38.41 kB / 1.068 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.7742, allocations: 14.91 kB / 1.068 GB, free: 14.54 MB / 0.7136 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.0001471/0.7743, allocations: 148.5 kB / 1.069 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7745, allocations: 26.14 kB / 1.069 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.775, allocations: 200.3 kB / 1.069 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.775, allocations: 2.188 kB / 1.069 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.775, allocations: 10 kB / 1.069 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.775, allocations: 2.297 kB / 1.069 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.7761, allocations: 0.8672 MB / 1.07 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7761, allocations: 1.531 kB / 1.07 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.7763, allocations: 27.69 kB / 1.07 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.7763, allocations: 2.188 kB / 1.07 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.7763, allocations: 6.625 kB / 1.07 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7763, allocations: 3.156 kB / 1.07 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7763, allocations: 1.719 kB / 1.07 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.7769, allocations: 364.7 kB / 1.07 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.777, allocations: 107.8 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.7771, allocations: 3.672 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.7773, allocations: 18.56 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.7773, allocations: 8.781 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.7773, allocations: 4.625 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002674/0.7776, allocations: 232.1 kB / 1.07 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.383e-06/0.7776, allocations: 0 / 1.07 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005533/0.7782, allocations: 96.84 kB / 1.07 GB, free: 13.29 MB / 0.7136 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.0005728/0.7788, allocations: 226.8 kB / 1.071 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.7792, allocations: 161.6 kB / 1.071 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7792, allocations: 0 / 1.071 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.7794, allocations: 65.03 kB / 1.071 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.7802, allocations: 131 kB / 1.071 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.7811, allocations: 0.5798 MB / 1.072 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.7814, allocations: 0.7583 MB / 1.072 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.7815, allocations: 25.47 kB / 1.072 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.7815, allocations: 0 / 1.072 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.0088/0.7903, allocations: 5.11 MB / 1.077 GB, free: 11.65 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)