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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001911/0.001911, allocations: 193 kB / 16.13 MB, free: 6.664 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.553/1.553, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.145/3.145, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.58 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1718/0.5184, allocations: 161 MB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00577/0.5242, allocations: 4.628 MB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.5246, allocations: 7.938 kB / 1.229 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.525, allocations: 103.3 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.5265, allocations: 0.5097 MB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.5283, allocations: 0.7046 MB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009021/0.5293, allocations: 0.8069 MB / 1.231 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.5296, allocations: 185.5 kB / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009354/0.5305, allocations: 426.4 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.5311, allocations: 302.9 kB / 1.232 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.5311, allocations: 12 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.5328, allocations: 1.165 MB / 1.233 GB, free: 480 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.533, allocations: 79.78 kB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.5331, allocations: 123.3 kB / 1.234 GB, free: 276 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.5342, allocations: 0.7635 MB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5342, allocations: 3.938 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5343, allocations: 8 kB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.5343, allocations: 0 / 1.234 GB, free: 15.49 MB / 0.9981 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.001031/0.5353, allocations: 0.5879 MB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5354, allocations: 12.03 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/0.536, allocations: 83.48 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.5364, allocations: 275.5 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.5364, allocations: 15.94 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.5365, allocations: 27.91 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.537, allocations: 287.4 kB / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.537, allocations: 3.938 kB / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.537, allocations: 8 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.537, allocations: 7.938 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.5376, allocations: 213.4 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.5392, allocations: 1.245 MB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.5395, allocations: 172.9 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.5397, allocations: 116.2 kB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007808/0.5405, allocations: 327.2 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.5406, allocations: 46.67 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.5406, allocations: 0 / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008077/0.5414, allocations: 277.5 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.5415, allocations: 162.2 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.5418, allocations: 283 kB / 1.238 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.5419, allocations: 29.7 kB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.542, allocations: 147.8 kB / 1.238 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.5421, allocations: 47.44 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.5422, allocations: 41.75 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5423, allocations: 338.8 kB / 1.239 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.5425, allocations: 67.94 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.5428, allocations: 148.5 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.5432, allocations: 207.6 kB / 1.239 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5432, allocations: 0 / 1.239 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005053/0.5437, allocations: 253.2 kB / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5437, allocations: 4 kB / 1.24 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5437, allocations: 4 kB / 1.24 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5438, allocations: 0 / 1.24 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.544, allocations: 43.97 kB / 1.24 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.544, allocations: 0 / 1.24 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.5443, allocations: 35.61 kB / 1.24 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.5443, allocations: 19.94 kB / 1.24 GB, free: 9.57 MB / 0.9981 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.0001717/0.5445, allocations: 150.1 kB / 1.24 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.5447, allocations: 31.7 kB / 1.24 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.5452, allocations: 181.8 kB / 1.24 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.5452, allocations: 4 kB / 1.24 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5453, allocations: 0 / 1.24 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.5453, allocations: 4 kB / 1.24 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.5464, allocations: 0.8587 MB / 1.241 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5464, allocations: 128 / 1.241 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.5465, allocations: 27.98 kB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5465, allocations: 3.938 kB / 1.241 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.5465, allocations: 11.98 kB / 1.241 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5466, allocations: 0 / 1.241 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5466, allocations: 8.156 kB / 1.241 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.5472, allocations: 335.3 kB / 1.241 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.5473, allocations: 116.8 kB / 1.241 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.5474, allocations: 4 kB / 1.241 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.5475, allocations: 7.984 kB / 1.241 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.5476, allocations: 11.98 kB / 1.241 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.5476, allocations: 4 kB / 1.241 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002689/0.5479, allocations: 233.9 kB / 1.242 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5479, allocations: 4.062 kB / 1.242 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000597/0.5485, allocations: 95.94 kB / 1.242 GB, free: 7.348 MB / 0.9981 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.0007315/0.5493, allocations: 232.3 kB / 1.242 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004392/0.5497, allocations: 143.8 kB / 1.242 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5497, allocations: 0 / 1.242 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.5499, allocations: 67.83 kB / 1.242 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.5508, allocations: 135.5 kB / 1.242 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/0.5516, allocations: 0.5484 MB / 1.243 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.5521, allocations: 0.7599 MB / 1.243 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002092/0.5523, allocations: 66.88 kB / 1.244 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.5523, allocations: 27.38 kB / 1.244 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.5523, allocations: 0 / 1.244 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.5564/1.109, allocations: 5.566 MB / 1.249 GB, free: 186.1 MB / 0.9981 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)