Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00216/0.00216, allocations: 196.2 kB / 16.14 MB, free: 6.695 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.03 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3463, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1952/0.5415, allocations: 167.2 MB / 1.231 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009176/0.5507, allocations: 7.191 MB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.5513, allocations: 15.88 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.552, allocations: 131.1 kB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.5556, allocations: 1.199 MB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.5574, allocations: 0.5755 MB / 1.24 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.5587, allocations: 1.057 MB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005528/0.5593, allocations: 250 kB / 1.241 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.5607, allocations: 0.5215 MB / 1.241 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009629/0.5616, allocations: 438.4 kB / 1.242 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.5618, allocations: 20 kB / 1.242 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.5642, allocations: 1.469 MB / 1.243 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.5644, allocations: 107.7 kB / 1.243 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.5646, allocations: 163.2 kB / 1.244 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.5661, allocations: 0.9816 MB / 1.245 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5661, allocations: 4 kB / 1.245 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5661, allocations: 0 / 1.245 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5661, allocations: 0 / 1.245 GB, free: 4.922 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001005/0.5671, allocations: 0.7012 MB / 1.245 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5671, allocations: 8.031 kB / 1.245 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.5682, allocations: 123.4 kB / 1.245 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.5686, allocations: 329.1 kB / 1.246 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.5687, allocations: 54.27 kB / 1.246 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.5688, allocations: 24 kB / 1.246 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.5694, allocations: 366.2 kB / 1.246 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5694, allocations: 3.938 kB / 1.246 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.5695, allocations: 12 kB / 1.246 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5695, allocations: 8 kB / 1.246 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.57, allocations: 278 kB / 1.246 GB, free: 2.922 MB / 0.9981 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.001874/0.5719, allocations: 1.496 MB / 1.248 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.5723, allocations: 198.4 kB / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.5726, allocations: 116.8 kB / 1.248 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.5737, allocations: 0.5014 MB / 1.249 GB, free: 392 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5737, allocations: 34.56 kB / 1.249 GB, free: 348 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.5737, allocations: 0 / 1.249 GB, free: 348 kB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.6476/1.221, allocations: 351.7 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/1.221, allocations: 53.16 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/1.222, allocations: 318.7 kB / 1.249 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/1.222, allocations: 27.33 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/1.222, allocations: 188.1 kB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/1.222, allocations: 56.02 kB / 1.25 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/1.222, allocations: 41.22 kB / 1.25 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.222, allocations: 339.3 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/1.223, allocations: 87.42 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/1.223, allocations: 153.5 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/1.224, allocations: 237.5 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.224, allocations: 2.688 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007078/1.224, allocations: 289.4 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/1.224, allocations: 6.375 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.224, allocations: 2.156 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.224, allocations: 2.781 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/1.225, allocations: 41.73 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.225, allocations: 7.047 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/1.225, allocations: 36.62 kB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/1.225, allocations: 17.97 kB / 1.251 GB, free: 187 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/1.225, allocations: 146.2 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/1.225, allocations: 29.83 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008977/1.226, allocations: 317 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.226, allocations: 5.938 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.226, allocations: 0.6094 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.226, allocations: 1.469 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.228, allocations: 0.803 MB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.228, allocations: 1.875 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/1.228, allocations: 33.23 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.228, allocations: 4.062 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/1.228, allocations: 5.75 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.228, allocations: 12.27 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.228, allocations: 2.625 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/1.229, allocations: 404 kB / 1.253 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/1.229, allocations: 133.8 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/1.229, allocations: 6.406 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/1.229, allocations: 24.25 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/1.23, allocations: 20.91 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/1.23, allocations: 10.69 kB / 1.253 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003489/1.23, allocations: 228.1 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.23, allocations: 1 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006467/1.231, allocations: 123.3 kB / 1.253 GB, free: 186.1 MB / 0.9981 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 (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.000687/1.231, allocations: 243.5 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005989/1.232, allocations: 218.3 kB / 1.254 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.232, allocations: 0.8125 kB / 1.254 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/1.232, allocations: 121.2 kB / 1.254 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/1.233, allocations: 145.2 kB / 1.254 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/1.235, allocations: 0.6913 MB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/1.235, allocations: 0.7853 MB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004091/1.235, allocations: 91.78 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/1.236, allocations: 33.47 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.236, allocations: 0 / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.01504/1.251, allocations: 6.99 MB / 1.262 GB, free: 184.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)