Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001171/0.001171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001302/0.001302, allocations: 193.4 kB / 16.25 MB, free: 6.625 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.089/3.089, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.45 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3401, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1833/0.5234, allocations: 161 MB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.5301, allocations: 4.554 MB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.5306, allocations: 7.938 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.5311, allocations: 107.3 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.533, allocations: 0.498 MB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.5354, allocations: 0.7239 MB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009894/0.5364, allocations: 0.5806 MB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.5369, allocations: 197.2 kB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.538, allocations: 466.3 kB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.5387, allocations: 295 kB / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.5388, allocations: 16 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.5407, allocations: 1.052 MB / 1.233 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.5409, allocations: 91.77 kB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.5411, allocations: 131.3 kB / 1.233 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.5425, allocations: 0.7596 MB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5426, allocations: 0 / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.906e-06/0.5426, allocations: 0 / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.5426, allocations: 3.938 kB / 1.234 GB, free: 15.66 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.00105/0.5436, allocations: 0.5958 MB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5437, allocations: 8.031 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007004/0.5444, allocations: 79.5 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.545, allocations: 283.4 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.545, allocations: 16 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.5451, allocations: 23.91 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.5458, allocations: 291.4 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5458, allocations: 0 / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.5458, allocations: 12 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5459, allocations: 7.938 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.5463, allocations: 213.3 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.5482, allocations: 1.238 MB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.5485, allocations: 180.9 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.5487, allocations: 108.2 kB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008903/0.5496, allocations: 335.2 kB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.5497, allocations: 38.69 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 3.075e-06/0.5497, allocations: 0 / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008734/0.5506, allocations: 281.1 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.5507, allocations: 162.2 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.551, allocations: 283 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.5511, allocations: 34.2 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.5512, allocations: 151.8 kB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.5513, allocations: 39.45 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.5514, allocations: 41.61 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.5516, allocations: 342.8 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.5518, allocations: 67.94 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.552, allocations: 149.7 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.5525, allocations: 203.6 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5525, allocations: 3.938 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006098/0.5531, allocations: 253.1 kB / 1.239 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5532, allocations: 4 kB / 1.239 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5532, allocations: 4 kB / 1.239 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5532, allocations: 4 kB / 1.239 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.5534, allocations: 35.98 kB / 1.239 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.5534, allocations: 11.92 kB / 1.239 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.5537, allocations: 35.8 kB / 1.239 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.5537, allocations: 19.94 kB / 1.24 GB, free: 9.723 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.0001664/0.5539, allocations: 145.8 kB / 1.24 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.5541, allocations: 23.72 kB / 1.24 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/0.5546, allocations: 189.8 kB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5546, allocations: 0 / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5546, allocations: 0 / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5546, allocations: 4 kB / 1.24 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.5558, allocations: 0.8548 MB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5558, allocations: 4.375 kB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.5559, allocations: 19.98 kB / 1.241 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.556, allocations: 7.938 kB / 1.241 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.556, allocations: 8.156 kB / 1.241 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.556, allocations: 7.938 kB / 1.241 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.556, allocations: 0 / 1.241 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.5566, allocations: 339.4 kB / 1.241 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.5568, allocations: 116.7 kB / 1.241 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.5568, allocations: 4 kB / 1.241 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.557, allocations: 4 kB / 1.241 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.5571, allocations: 15.98 kB / 1.241 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.5571, allocations: 8.062 kB / 1.241 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002711/0.5573, allocations: 229.9 kB / 1.241 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5574, allocations: 4 kB / 1.241 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005292/0.5579, allocations: 95.92 kB / 1.242 GB, free: 7.516 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.0006542/0.5586, allocations: 222.9 kB / 1.242 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.559, allocations: 159.7 kB / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.559, allocations: 0 / 1.242 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.5592, allocations: 56.72 kB / 1.242 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009084/0.5601, allocations: 142.4 kB / 1.242 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.5613, allocations: 0.5585 MB / 1.243 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.5619, allocations: 0.7518 MB / 1.243 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002436/0.5621, allocations: 62.94 kB / 1.243 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.5622, allocations: 23.44 kB / 1.243 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.5622, allocations: 0 / 1.243 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.5148/1.077, allocations: 5.731 MB / 1.249 GB, free: 186.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)