Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 288.3 MB / 303.2 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 185.8 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 0.6306 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009592/0.000959, allocations: 103.7 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004221, allocations: 12.44 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.26, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.611/5.871, allocations: 2.062 GB / 3.041 GB, free: 210 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/5.871, allocations: 88.58 kB / 3.041 GB, free: 210 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.272/7.143, allocations: 222.8 MB / 3.259 GB, free: 276.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/7.143, allocations: 0 / 3.259 GB, free: 276.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.695e-05/7.143, allocations: 9.25 kB / 3.259 GB, free: 276.3 MB / 0.948 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.002133/7.146, allocations: 0.6392 MB / 3.259 GB, free: 275.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.347e-05/7.146, allocations: 8.594 kB / 3.259 GB, free: 275.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/7.147, allocations: 73.16 kB / 3.259 GB, free: 275.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/7.148, allocations: 294 kB / 3.26 GB, free: 275.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/7.148, allocations: 18.36 kB / 3.26 GB, free: 275.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/7.148, allocations: 19.66 kB / 3.26 GB, free: 275.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009991/7.149, allocations: 287.8 kB / 3.26 GB, free: 275.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/7.149, allocations: 0.5312 kB / 3.26 GB, free: 275.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/7.149, allocations: 5.312 kB / 3.26 GB, free: 275.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/7.149, allocations: 5.625 kB / 3.26 GB, free: 275.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/7.15, allocations: 205.4 kB / 3.26 GB, free: 275.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/7.153, allocations: 1.226 MB / 3.261 GB, free: 274.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/7.153, allocations: 171.4 kB / 3.262 GB, free: 274.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/7.154, allocations: 325.4 kB / 3.262 GB, free: 274.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/7.154, allocations: 51.03 kB / 3.262 GB, free: 274.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 4.048e-06/7.154, allocations: 0 / 3.262 GB, free: 274.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.00154/7.156, allocations: 284.8 kB / 3.262 GB, free: 274.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/7.156, allocations: 163.5 kB / 3.262 GB, free: 274.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/7.157, allocations: 251.5 kB / 3.263 GB, free: 274 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/7.157, allocations: 30.92 kB / 3.263 GB, free: 274 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/7.157, allocations: 156.9 kB / 3.263 GB, free: 273.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/7.157, allocations: 42.03 kB / 3.263 GB, free: 273.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/7.157, allocations: 3.656 kB / 3.263 GB, free: 273.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001625/7.157, allocations: 335.6 kB / 3.263 GB, free: 273.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/7.157, allocations: 69.72 kB / 3.263 GB, free: 273.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/7.158, allocations: 163.8 kB / 3.263 GB, free: 273.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/7.158, allocations: 84.47 kB / 3.263 GB, free: 273.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/7.158, allocations: 0 / 3.263 GB, free: 273.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001007/7.159, allocations: 248.3 kB / 3.264 GB, free: 273.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/7.159, allocations: 9.562 kB / 3.264 GB, free: 273.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/7.16, allocations: 5.797 kB / 3.264 GB, free: 273.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/7.16, allocations: 6.891 kB / 3.264 GB, free: 273.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/7.16, allocations: 40.33 kB / 3.264 GB, free: 273.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/7.16, allocations: 5.875 kB / 3.264 GB, free: 273.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/7.16, allocations: 34.5 kB / 3.264 GB, free: 273.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/7.161, allocations: 13.31 kB / 3.264 GB, free: 273.4 MB / 0.948 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.0002576/7.161, allocations: 155.4 kB / 3.264 GB, free: 273.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/7.161, allocations: 28.69 kB / 3.264 GB, free: 273.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/7.162, allocations: 189.8 kB / 3.264 GB, free: 273.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/7.162, allocations: 9.766 kB / 3.264 GB, free: 273.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/7.162, allocations: 5.188 kB / 3.264 GB, free: 273.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/7.162, allocations: 1.422 kB / 3.264 GB, free: 273.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/7.164, allocations: 0.8546 MB / 3.265 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/7.164, allocations: 2.094 kB / 3.265 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/7.164, allocations: 27.64 kB / 3.265 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/7.164, allocations: 6 kB / 3.265 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/7.164, allocations: 6.219 kB / 3.265 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/7.164, allocations: 2.094 kB / 3.265 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/7.164, allocations: 1.688 kB / 3.265 GB, free: 272.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/7.165, allocations: 397.6 kB / 3.265 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/7.166, allocations: 118.7 kB / 3.266 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/7.166, allocations: 10.12 kB / 3.266 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/7.166, allocations: 14.89 kB / 3.266 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/7.166, allocations: 12.48 kB / 3.266 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/7.166, allocations: 4.438 kB / 3.266 GB, free: 272.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004942/7.167, allocations: 236.5 kB / 3.266 GB, free: 272.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.82e-07/7.167, allocations: 4.062 kB / 3.266 GB, free: 272.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001637/7.168, allocations: 185.9 kB / 3.266 GB, free: 272.1 MB / 0.948 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.002865/7.171, allocations: 1.037 MB / 3.267 GB, free: 271.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006962/7.172, allocations: 151.7 kB / 3.267 GB, free: 271.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/7.172, allocations: 0.75 kB / 3.267 GB, free: 271.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/7.172, allocations: 65.72 kB / 3.267 GB, free: 271.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/7.173, allocations: 122.5 kB / 3.267 GB, free: 271.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/7.174, allocations: 0.5622 MB / 3.268 GB, free: 271.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/7.175, allocations: 0.7631 MB / 3.269 GB, free: 270.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003026/7.175, allocations: 61.52 kB / 3.269 GB, free: 270.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/7.175, allocations: 30.36 kB / 3.269 GB, free: 270.9 MB / 0.948 GB Notification: Performance of SimCode: time 7.02e-07/7.175, allocations: 1.062 kB / 3.269 GB, free: 270.9 MB / 0.948 GB Notification: Performance of Templates: time 0.03646/7.212, allocations: 17.25 MB / 3.286 GB, free: 270.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)