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.98/1.98, allocations: 288.4 MB / 303.4 MB, free: 8.254 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.001423/0.001424, allocations: 187.1 kB / 372 MB, free: 10.23 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.794/1.794, allocations: 205.4 MB / 0.6307 GB, free: 9.934 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.000834/0.000834, allocations: 92.59 kB / 0.7441 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004564, allocations: 16.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2176, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8489/1.067, allocations: 148.2 MB / 1.124 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005072/1.072, allocations: 4.255 MB / 1.128 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/1.072, allocations: 9.812 kB / 1.129 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003984/1.072, allocations: 87.16 kB / 1.129 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/1.074, allocations: 382.1 kB / 1.129 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/1.075, allocations: 0.5271 MB / 1.129 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008303/1.076, allocations: 0.6827 MB / 1.13 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/1.077, allocations: 163.7 kB / 1.13 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009374/1.078, allocations: 375.6 kB / 1.131 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007891/1.078, allocations: 271.2 kB / 1.131 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/1.078, allocations: 14.78 kB / 1.131 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/1.08, allocations: 0.5187 MB / 1.131 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/1.08, allocations: 77.19 kB / 1.131 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/1.08, allocations: 72.89 kB / 1.132 GB, free: 16.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005813/1.081, allocations: 405.3 kB / 1.132 GB, free: 16.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.081, allocations: 0 / 1.132 GB, free: 16.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/1.081, allocations: 0 / 1.132 GB, free: 16.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.081, allocations: 0 / 1.132 GB, free: 16.83 MB / 0.698 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.0008392/1.082, allocations: 0.5605 MB / 1.133 GB, free: 16.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.082, allocations: 8.562 kB / 1.133 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006687/1.082, allocations: 78.41 kB / 1.133 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/1.083, allocations: 274.2 kB / 1.133 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/1.083, allocations: 18.91 kB / 1.133 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/1.083, allocations: 22.08 kB / 1.133 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/1.083, allocations: 299.2 kB / 1.133 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.083, allocations: 0 / 1.133 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/1.083, allocations: 5.812 kB / 1.133 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.083, allocations: 9.125 kB / 1.133 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/1.084, allocations: 209 kB / 1.133 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/1.085, allocations: 1.257 MB / 1.135 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/1.086, allocations: 173.8 kB / 1.135 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/1.086, allocations: 121.2 kB / 1.135 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008012/1.087, allocations: 352.8 kB / 1.135 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.087, allocations: 36.06 kB / 1.135 GB, free: 14.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/1.087, allocations: 0 / 1.135 GB, free: 14.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0007367/1.087, allocations: 300.4 kB / 1.136 GB, free: 14.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.088, allocations: 164.3 kB / 1.136 GB, free: 14.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/1.088, allocations: 283.7 kB / 1.136 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.088, allocations: 29.02 kB / 1.136 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.088, allocations: 146.7 kB / 1.136 GB, free: 14.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/1.088, allocations: 44.5 kB / 1.136 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/1.088, allocations: 4 kB / 1.136 GB, free: 14.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.088, allocations: 335.5 kB / 1.137 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/1.088, allocations: 71.58 kB / 1.137 GB, free: 13.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/1.089, allocations: 158.8 kB / 1.137 GB, free: 13.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/1.089, allocations: 85.39 kB / 1.137 GB, free: 13.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.089, allocations: 6.844 kB / 1.137 GB, free: 13.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004819/1.089, allocations: 244.8 kB / 1.137 GB, free: 13.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.089, allocations: 16.02 kB / 1.137 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.089, allocations: 0 / 1.137 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.089, allocations: 8.703 kB / 1.137 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/1.09, allocations: 38.08 kB / 1.137 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.09, allocations: 7 kB / 1.137 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/1.09, allocations: 41.11 kB / 1.137 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/1.09, allocations: 6.719 kB / 1.137 GB, free: 13.65 MB / 0.698 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.0001813/1.09, allocations: 150 kB / 1.137 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/1.09, allocations: 23.84 kB / 1.137 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/1.091, allocations: 205.5 kB / 1.138 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.091, allocations: 2.812 kB / 1.138 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.091, allocations: 0 / 1.138 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.091, allocations: 2.906 kB / 1.138 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009387/1.092, allocations: 0.8684 MB / 1.138 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.092, allocations: 0 / 1.138 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.092, allocations: 29.52 kB / 1.138 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.092, allocations: 2.656 kB / 1.138 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.092, allocations: 2.688 kB / 1.138 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.092, allocations: 0 / 1.138 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.092, allocations: 6.594 kB / 1.138 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/1.092, allocations: 359.8 kB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/1.092, allocations: 123.9 kB / 1.139 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/1.093, allocations: 7.25 kB / 1.139 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/1.093, allocations: 8 kB / 1.139 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/1.093, allocations: 18.61 kB / 1.139 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/1.093, allocations: 3 kB / 1.139 GB, free: 12.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002068/1.093, allocations: 232.5 kB / 1.139 GB, free: 12.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.093, allocations: 0 / 1.139 GB, free: 12.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004514/1.093, allocations: 95.2 kB / 1.139 GB, free: 12.38 MB / 0.698 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.0004921/1.094, allocations: 208.5 kB / 1.139 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004393/1.094, allocations: 152.2 kB / 1.14 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.094, allocations: 0.5 kB / 1.14 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/1.095, allocations: 72.89 kB / 1.14 GB, free: 12.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/1.095, allocations: 126.5 kB / 1.14 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/1.096, allocations: 0.5715 MB / 1.14 GB, free: 11.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/1.097, allocations: 0.7585 MB / 1.141 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002076/1.097, allocations: 66.78 kB / 1.141 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/1.097, allocations: 23.72 kB / 1.141 GB, free: 11.14 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/1.097, allocations: 0 / 1.141 GB, free: 11.14 MB / 0.698 GB Notification: Performance of Templates: time 0.01135/1.108, allocations: 5.317 MB / 1.146 GB, free: 8.609 MB / 0.698 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)