Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.007905/0.007905, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001423/0.001423, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5797/0.5797, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 72.28 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1612, allocations: 69.08 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.4942/0.6555, allocations: 143.3 MB / 0.711 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004339/0.6599, allocations: 3.011 MB / 0.714 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004284/0.6603, allocations: 11.69 kB / 0.714 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.6611, allocations: 171.2 kB / 0.7141 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.6626, allocations: 419.2 kB / 0.7145 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.6642, allocations: 0.5125 MB / 0.715 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.6654, allocations: 0.7872 MB / 0.7158 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.6658, allocations: 238.8 kB / 0.716 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007299/0.6666, allocations: 348.6 kB / 0.7164 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.6672, allocations: 289.7 kB / 0.7166 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.6673, allocations: 27.56 kB / 0.7167 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.668, allocations: 321.7 kB / 0.717 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.6682, allocations: 83.73 kB / 0.7171 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.6685, allocations: 187.1 kB / 0.7172 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.6695, allocations: 0.5371 MB / 0.7178 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6695, allocations: 0 / 0.7178 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6695, allocations: 0 / 0.7178 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.6696, allocations: 4 kB / 0.7178 GB, free: 8.316 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001237/0.6708, allocations: 0.6546 MB / 0.7184 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6709, allocations: 15.98 kB / 0.7184 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.6712, allocations: 40.56 kB / 0.7185 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.6717, allocations: 334.5 kB / 0.7188 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.6718, allocations: 16.94 kB / 0.7188 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.6718, allocations: 24.56 kB / 0.7188 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.6725, allocations: 326.7 kB / 0.7191 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.6725, allocations: 3.625 kB / 0.7191 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.6725, allocations: 12 kB / 0.7191 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6725, allocations: 4 kB / 0.7192 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.673, allocations: 217.5 kB / 0.7194 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.6751, allocations: 1.364 MB / 0.7207 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.6754, allocations: 114.4 kB / 0.7208 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.6756, allocations: 64.81 kB / 0.7209 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008111/0.6764, allocations: 0.6129 MB / 0.7215 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.6764, allocations: 34.56 kB / 0.7215 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.6765, allocations: 0 / 0.7215 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.0006257/0.6771, allocations: 234.8 kB / 0.7217 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.6772, allocations: 110.8 kB / 0.7218 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.6775, allocations: 337.7 kB / 0.7221 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.6776, allocations: 33.7 kB / 0.7222 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.6777, allocations: 191.8 kB / 0.7224 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.6778, allocations: 55.2 kB / 0.7224 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.6779, allocations: 53.84 kB / 0.7225 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6781, allocations: 346.8 kB / 0.7228 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.6782, allocations: 68.36 kB / 0.7229 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.6785, allocations: 171.5 kB / 0.723 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.6789, allocations: 244.5 kB / 0.7233 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.679, allocations: 7.938 kB / 0.7233 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005635/0.6795, allocations: 272.9 kB / 0.7235 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6796, allocations: 8 kB / 0.7235 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6796, allocations: 4.375 kB / 0.7235 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.6796, allocations: 8 kB / 0.7235 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.68, allocations: 79.88 kB / 0.7236 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.68, allocations: 4 kB / 0.7236 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.6802, allocations: 43.58 kB / 0.7237 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.6803, allocations: 9.797 kB / 0.7237 GB, free: 1.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 28 * 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.0001635/0.6805, allocations: 161.6 kB / 0.7238 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.6805, allocations: 31.62 kB / 0.7239 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.6811, allocations: 273.9 kB / 0.7241 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6812, allocations: 0 / 0.7241 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6812, allocations: 0 / 0.7241 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6812, allocations: 4 kB / 0.7241 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.6816, allocations: 325.2 kB / 0.7244 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6816, allocations: 0 / 0.7244 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.6819, allocations: 52.52 kB / 0.7245 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.6819, allocations: 0 / 0.7245 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.6819, allocations: 4 kB / 0.7245 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6819, allocations: 0 / 0.7245 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6819, allocations: 4.875 kB / 0.7245 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.6825, allocations: 266 kB / 0.7247 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.6826, allocations: 108.8 kB / 0.7248 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.6827, allocations: 11.84 kB / 0.7249 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.6829, allocations: 11.98 kB / 0.7249 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.6829, allocations: 7.938 kB / 0.7249 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.683, allocations: 15.98 kB / 0.7249 GB, free: 396 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002833/0.6832, allocations: 271.2 kB / 0.7252 GB, free: 128 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6833, allocations: 0 / 0.7252 GB, free: 128 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004576/0.6837, allocations: 107.9 kB / 0.7253 GB, free: 20 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0005286/0.6843, allocations: 211.8 kB / 0.7255 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.6847, allocations: 167.7 kB / 0.7256 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6847, allocations: 0 / 0.7256 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.6849, allocations: 59.47 kB / 0.7257 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.6857, allocations: 204.4 kB / 0.7259 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.6868, allocations: 0.5697 MB / 0.7264 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.6871, allocations: 0.7801 MB / 0.7272 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.6874, allocations: 67.19 kB / 0.7273 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.6875, allocations: 39.42 kB / 0.7273 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.6875, allocations: 0 / 0.7273 GB, free: 13.89 MB / 0.545 GB Notification: Performance of Templates: time 0.0143/0.7018, allocations: 7.141 MB / 0.7343 GB, free: 6.836 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)