Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.266/2.266, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001331/0.001331, allocations: 186.5 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.364/2.364, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.001042/0.001042, allocations: 97.19 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004821, allocations: 11.66 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.659/6.873, allocations: 2.18 GB / 3.079 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/6.873, allocations: 93.64 kB / 3.079 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.284/8.157, allocations: 215.5 MB / 3.29 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.934e-06/8.157, allocations: 4 kB / 3.29 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.84e-05/8.158, allocations: 8 kB / 3.29 GB, free: 158.2 MB / 0.8855 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.00163/8.159, allocations: 0.6464 MB / 3.29 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/8.159, allocations: 8.031 kB / 3.29 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/8.16, allocations: 76.58 kB / 3.29 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/8.161, allocations: 292 kB / 3.291 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/8.161, allocations: 12.38 kB / 3.291 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/8.161, allocations: 20.38 kB / 3.291 GB, free: 157 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/8.162, allocations: 280 kB / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/8.162, allocations: 3.938 kB / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/8.162, allocations: 11.98 kB / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/8.162, allocations: 4 kB / 3.291 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/8.163, allocations: 207.8 kB / 3.291 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/8.165, allocations: 1.214 MB / 3.292 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/8.165, allocations: 180.9 kB / 3.292 GB, free: 155 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/8.166, allocations: 112.2 kB / 3.293 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009738/8.167, allocations: 331.2 kB / 3.293 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/8.167, allocations: 34.69 kB / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 3.747e-06/8.167, allocations: 0 / 3.293 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0013/8.168, allocations: 289.1 kB / 3.293 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/8.168, allocations: 162.7 kB / 3.293 GB, free: 154 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/8.169, allocations: 279 kB / 3.294 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/8.169, allocations: 33.7 kB / 3.294 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/8.169, allocations: 147.8 kB / 3.294 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/8.169, allocations: 47.38 kB / 3.294 GB, free: 153.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/8.169, allocations: 8 kB / 3.294 GB, free: 153.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/8.169, allocations: 334.8 kB / 3.294 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/8.169, allocations: 75.94 kB / 3.294 GB, free: 153 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/8.17, allocations: 149.3 kB / 3.294 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/8.17, allocations: 83.88 kB / 3.294 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/8.17, allocations: 4 kB / 3.294 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008707/8.171, allocations: 245.3 kB / 3.295 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/8.171, allocations: 12.03 kB / 3.295 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/8.171, allocations: 0 / 3.295 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/8.171, allocations: 4 kB / 3.295 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/8.171, allocations: 47.91 kB / 3.295 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/8.171, allocations: 7.938 kB / 3.295 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/8.172, allocations: 23.83 kB / 3.295 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/8.172, allocations: 16 kB / 3.295 GB, free: 152.4 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002253/8.172, allocations: 150.4 kB / 3.295 GB, free: 152.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/8.172, allocations: 31.7 kB / 3.295 GB, free: 152.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007791/8.173, allocations: 194.1 kB / 3.295 GB, free: 152 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/8.173, allocations: 4 kB / 3.295 GB, free: 152 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/8.173, allocations: 3.938 kB / 3.295 GB, free: 152 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/8.173, allocations: 4 kB / 3.295 GB, free: 152 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/8.175, allocations: 0.851 MB / 3.296 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/8.175, allocations: 0 / 3.296 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/8.175, allocations: 27.97 kB / 3.296 GB, free: 151 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/8.175, allocations: 4 kB / 3.296 GB, free: 151 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/8.175, allocations: 7.938 kB / 3.296 GB, free: 151 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/8.175, allocations: 8.156 kB / 3.296 GB, free: 151 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/8.175, allocations: 0 / 3.296 GB, free: 151 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008743/8.176, allocations: 339.3 kB / 3.296 GB, free: 150.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/8.176, allocations: 120.7 kB / 3.296 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/8.176, allocations: 8 kB / 3.296 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/8.176, allocations: 16.05 kB / 3.296 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/8.176, allocations: 7.984 kB / 3.297 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/8.176, allocations: 7.938 kB / 3.297 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003368/8.177, allocations: 237.9 kB / 3.297 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.1e-07/8.177, allocations: 0 / 3.297 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001121/8.178, allocations: 183.9 kB / 3.297 GB, free: 150.1 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002094/8.18, allocations: 1.021 MB / 3.298 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007159/8.181, allocations: 155.7 kB / 3.298 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/8.181, allocations: 0 / 3.298 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/8.181, allocations: 68.7 kB / 3.298 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/8.182, allocations: 120.7 kB / 3.298 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/8.184, allocations: 0.5632 MB / 3.299 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/8.184, allocations: 0.7599 MB / 3.3 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003623/8.184, allocations: 54.2 kB / 3.3 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/8.184, allocations: 27.38 kB / 3.3 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.202e-06/8.184, allocations: 0 / 3.3 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.03804/8.222, allocations: 17.22 MB / 3.316 GB, free: 130.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)