Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.4 MB / 303.7 MB, free: 8.82 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.0009894/0.0009894, allocations: 186.5 kB / 372.3 MB, free: 6.414 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.62/1.62, allocations: 205.4 MB / 0.631 GB, free: 13.5 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007663/0.0007665, allocations: 89.33 kB / 0.7444 GB, free: 64.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004377, allocations: 15.98 kB / 0.8675 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2927, allocations: 115.3 MB / 0.9801 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.8101/1.103, allocations: 154 MB / 1.13 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006479/1.109, allocations: 6.634 MB / 1.137 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/1.11, allocations: 10.34 kB / 1.137 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/1.11, allocations: 116.5 kB / 1.137 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/1.114, allocations: 1.122 MB / 1.138 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/1.116, allocations: 0.5323 MB / 1.139 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009709/1.117, allocations: 0.9 MB / 1.14 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/1.117, allocations: 243.4 kB / 1.14 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009784/1.118, allocations: 0.5092 MB / 1.14 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/1.119, allocations: 398.3 kB / 1.141 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/1.119, allocations: 15.97 kB / 1.141 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/1.121, allocations: 1.448 MB / 1.142 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/1.121, allocations: 99.8 kB / 1.142 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/1.121, allocations: 178.8 kB / 1.142 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006758/1.122, allocations: 0.6246 MB / 1.143 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/1.122, allocations: 4 kB / 1.143 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.274e-06/1.122, allocations: 0 / 1.143 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.122, allocations: 0 / 1.143 GB, free: 5.68 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008663/1.123, allocations: 0.6407 MB / 1.144 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.123, allocations: 9.25 kB / 1.144 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/1.123, allocations: 123.5 kB / 1.144 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/1.124, allocations: 325.6 kB / 1.144 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/1.124, allocations: 54.53 kB / 1.144 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/1.124, allocations: 31.59 kB / 1.144 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/1.125, allocations: 364.3 kB / 1.144 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.125, allocations: 0 / 1.144 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/1.125, allocations: 19.44 kB / 1.144 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.125, allocations: 6.562 kB / 1.145 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/1.125, allocations: 287.4 kB / 1.145 GB, free: 4.527 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/1.127, allocations: 1.503 MB / 1.146 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/1.127, allocations: 198.3 kB / 1.146 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/1.127, allocations: 129.7 kB / 1.147 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008206/1.128, allocations: 0.5136 MB / 1.147 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/1.128, allocations: 36.03 kB / 1.147 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/1.128, allocations: 0 / 1.147 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0008103/1.129, allocations: 373.9 kB / 1.147 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/1.129, allocations: 54.53 kB / 1.148 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/1.129, allocations: 315.2 kB / 1.148 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/1.129, allocations: 32.89 kB / 1.148 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.13, allocations: 187.6 kB / 1.148 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/1.13, allocations: 51.88 kB / 1.148 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/1.13, allocations: 4 kB / 1.148 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/1.13, allocations: 335.9 kB / 1.148 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.13, allocations: 90.19 kB / 1.148 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/1.13, allocations: 159.5 kB / 1.149 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/1.131, allocations: 249.9 kB / 1.149 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.131, allocations: 6.938 kB / 1.149 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004876/1.131, allocations: 292.3 kB / 1.149 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.131, allocations: 3.375 kB / 1.149 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.131, allocations: 3.5 kB / 1.149 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.131, allocations: 7.281 kB / 1.149 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.131, allocations: 47 kB / 1.149 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/1.131, allocations: 3.766 kB / 1.149 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/1.132, allocations: 37.72 kB / 1.149 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/1.132, allocations: 13.19 kB / 1.149 GB, free: 1.402 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001231/1.132, allocations: 159 kB / 1.149 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/1.132, allocations: 31.88 kB / 1.149 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006245/1.132, allocations: 317.8 kB / 1.15 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.132, allocations: 0.5 kB / 1.15 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.132, allocations: 6.594 kB / 1.15 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.132, allocations: 4.031 kB / 1.15 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.134, allocations: 0.8201 MB / 1.151 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.134, allocations: 0.5 kB / 1.151 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/1.134, allocations: 40.55 kB / 1.151 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.134, allocations: 3.344 kB / 1.151 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/1.134, allocations: 15.5 kB / 1.151 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/1.134, allocations: 6.641 kB / 1.151 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.134, allocations: 3.406 kB / 1.151 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/1.134, allocations: 408.5 kB / 1.151 GB, free: 312 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.134, allocations: 133.9 kB / 1.151 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/1.134, allocations: 11.56 kB / 1.151 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/1.135, allocations: 29.36 kB / 1.151 GB, free: 176 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/1.135, allocations: 21.03 kB / 1.151 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/1.135, allocations: 10.12 kB / 1.151 GB, free: 168 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001817/1.135, allocations: 222.1 kB / 1.151 GB, free: 48 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.135, allocations: 0 / 1.151 GB, free: 48 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004657/1.135, allocations: 121.3 kB / 1.152 GB, free: 24 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0005994/1.136, allocations: 227.6 kB / 1.152 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004643/1.137, allocations: 224.2 kB / 1.152 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.137, allocations: 0 / 1.152 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/1.137, allocations: 134.1 kB / 1.152 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/1.138, allocations: 159.9 kB / 1.152 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.139, allocations: 0.7011 MB / 1.153 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/1.139, allocations: 0.7876 MB / 1.154 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000307/1.139, allocations: 85.52 kB / 1.154 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/1.14, allocations: 30.61 kB / 1.154 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of SimCode: time 2.31e-07/1.14, allocations: 3.938 kB / 1.154 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.01132/1.151, allocations: 6.89 MB / 1.161 GB, free: 14.06 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)