Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001446/0.001446, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 65.86 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3347, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1881/0.5229, allocations: 169.4 MB / 1.234 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009566/0.5325, allocations: 7.142 MB / 1.241 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.5331, allocations: 11.94 kB / 1.241 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.5339, allocations: 170.7 kB / 1.241 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.5378, allocations: 1.256 MB / 1.242 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.5396, allocations: 0.6292 MB / 1.243 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.541, allocations: 0.7641 MB / 1.243 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.5417, allocations: 283.3 kB / 1.244 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.5433, allocations: 0.5759 MB / 1.244 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.5443, allocations: 426.5 kB / 1.245 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.5445, allocations: 28 kB / 1.245 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.547, allocations: 1.243 MB / 1.246 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.5472, allocations: 115.6 kB / 1.246 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.5474, allocations: 175.1 kB / 1.246 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.5495, allocations: 0.8962 MB / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5495, allocations: 0 / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5495, allocations: 0 / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.5495, allocations: 0 / 1.247 GB, free: 2.676 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.001521/0.5511, allocations: 0.6934 MB / 1.248 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5511, allocations: 12.03 kB / 1.248 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5524, allocations: 123.4 kB / 1.248 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.5529, allocations: 329.1 kB / 1.248 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.553, allocations: 54.2 kB / 1.248 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.553, allocations: 24 kB / 1.248 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.5537, allocations: 370.1 kB / 1.249 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5537, allocations: 0 / 1.249 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.5538, allocations: 12 kB / 1.249 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.5538, allocations: 11.98 kB / 1.249 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.5543, allocations: 270 kB / 1.249 GB, free: 0.6836 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.6005/1.155, allocations: 1.487 MB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/1.155, allocations: 199.3 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/1.156, allocations: 123.3 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009705/1.157, allocations: 0.5059 MB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/1.157, allocations: 36.64 kB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/1.157, allocations: 0 / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.001098/1.158, allocations: 358.8 kB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/1.158, allocations: 57.12 kB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/1.158, allocations: 316 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/1.158, allocations: 29.89 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.158, allocations: 185.8 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/1.158, allocations: 46.69 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/1.158, allocations: 47.38 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/1.158, allocations: 336.8 kB / 1.252 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/1.159, allocations: 88.44 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/1.159, allocations: 151.9 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/1.159, allocations: 235.8 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.159, allocations: 0.8438 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006278/1.16, allocations: 283 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.16, allocations: 13.52 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.16, allocations: 1.406 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.16, allocations: 2.5 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/1.16, allocations: 40.69 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.16, allocations: 2.188 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/1.16, allocations: 38.16 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/1.161, allocations: 17.56 kB / 1.253 GB, free: 185.3 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.000132/1.161, allocations: 149 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/1.161, allocations: 34.62 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/1.162, allocations: 314.5 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.162, allocations: 2.312 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.162, allocations: 1.938 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.162, allocations: 2.578 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/1.163, allocations: 0.8054 MB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.163, allocations: 2.625 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/1.163, allocations: 36.41 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.163, allocations: 2.781 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/1.163, allocations: 10.38 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.163, allocations: 2.406 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.163, allocations: 2.953 kB / 1.255 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/1.164, allocations: 401.4 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.164, allocations: 137.7 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/1.164, allocations: 7.75 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/1.164, allocations: 11.47 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/1.164, allocations: 25.47 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/1.164, allocations: 10.25 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001969/1.164, allocations: 229.8 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.164, allocations: 0.75 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005178/1.165, allocations: 117.2 kB / 1.255 GB, free: 184.4 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.0005312/1.165, allocations: 241.5 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005068/1.166, allocations: 226.7 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.166, allocations: 0 / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/1.166, allocations: 111.6 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/1.167, allocations: 170.4 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.168, allocations: 0.6106 MB / 1.257 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/1.169, allocations: 0.7866 MB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003151/1.169, allocations: 85.03 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/1.169, allocations: 34.14 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.169, allocations: 0 / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01397/1.183, allocations: 7.288 MB / 1.265 GB, free: 182.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)