Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.598/1.598, allocations: 288.4 MB / 303.7 MB, free: 8.113 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.0009475/0.0009475, allocations: 178.2 kB / 372.3 MB, free: 10.12 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.321/1.321, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0007285/0.0007286, allocations: 88.77 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 12.5 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1911, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7015/0.8927, allocations: 216.7 MB / 1.192 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02131/0.914, allocations: 14.6 MB / 1.206 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/0.9171, allocations: 47.59 kB / 1.206 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.9204, allocations: 0.7521 MB / 1.207 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009048/0.9295, allocations: 2.55 MB / 1.209 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004824/0.9344, allocations: 1.325 MB / 1.211 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006034/0.9404, allocations: 3.979 MB / 1.214 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.9428, allocations: 1.04 MB / 1.215 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00628/0.9491, allocations: 2.115 MB / 1.218 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.9517, allocations: 1.002 MB / 1.218 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004211/0.9522, allocations: 50.59 kB / 1.219 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007082/0.9593, allocations: 3.524 MB / 1.222 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008487/0.9602, allocations: 390.5 kB / 1.222 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.962, allocations: 0.713 MB / 1.223 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004098/0.9661, allocations: 2.147 MB / 1.225 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.9661, allocations: 0 / 1.225 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9661, allocations: 0 / 1.225 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001178/0.9663, allocations: 0 / 1.225 GB, free: 15.67 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004229/0.9705, allocations: 1.724 MB / 1.227 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.9706, allocations: 12.03 kB / 1.227 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.9735, allocations: 0.5333 MB / 1.227 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.9763, allocations: 1.118 MB / 1.228 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009305/0.9773, allocations: 277.8 kB / 1.229 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.9776, allocations: 100 kB / 1.229 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.9804, allocations: 1.326 MB / 1.23 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.9805, allocations: 7.938 kB / 1.23 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.9806, allocations: 47.92 kB / 1.23 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.574e-05/0.9807, allocations: 49.98 kB / 1.23 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/0.9834, allocations: 1.108 MB / 1.231 GB, free: 9.172 MB / 0.7605 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.009548/0.9929, allocations: 6.662 MB / 1.238 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.9947, allocations: 0.6049 MB / 1.238 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.9954, allocations: 285.2 kB / 1.239 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004696/0.9959, allocations: 287.5 kB / 1.239 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.996, allocations: 42.84 kB / 1.239 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 5.37e-06/0.996, allocations: 0 / 1.239 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002669/0.9986, allocations: 0.9055 MB / 1.24 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.9987, allocations: 59.41 kB / 1.24 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/1.001, allocations: 1.346 MB / 1.241 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/1.001, allocations: 33.7 kB / 1.241 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/1.001, allocations: 0.6872 MB / 1.242 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/1.002, allocations: 118.3 kB / 1.242 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/1.002, allocations: 15.94 kB / 1.242 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.002, allocations: 330 kB / 1.242 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008917/1.003, allocations: 329.1 kB / 1.243 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.004, allocations: 0.6676 MB / 1.243 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.006, allocations: 0.8944 MB / 1.244 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.006, allocations: 11.94 kB / 1.244 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002467/1.008, allocations: 1.039 MB / 1.245 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000277/1.009, allocations: 378.4 kB / 1.246 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.009, allocations: 12 kB / 1.246 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.009, allocations: 12 kB / 1.246 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/1.009, allocations: 207.7 kB / 1.246 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/1.01, allocations: 23.91 kB / 1.246 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.011, allocations: 230.7 kB / 1.246 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/1.011, allocations: 39.98 kB / 1.246 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.011, allocations: 3.938 kB / 1.246 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002107/1.014, allocations: 0.9053 MB / 1.247 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.014, allocations: 8 kB / 1.247 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.014, allocations: 12 kB / 1.247 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/1.014, allocations: 212.5 kB / 1.247 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.014, allocations: 19.92 kB / 1.247 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.016, allocations: 210.9 kB / 1.247 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/1.016, allocations: 35.98 kB / 1.247 GB, free: 7.605 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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.0007058/1.017, allocations: 408.8 kB / 1.248 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/1.017, allocations: 138.2 kB / 1.248 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/1.019, allocations: 0.6832 MB / 1.249 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/1.019, allocations: 11.98 kB / 1.249 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/1.019, allocations: 0 / 1.249 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.019, allocations: 0 / 1.249 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/1.023, allocations: 1.937 MB / 1.251 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.023, allocations: 4 kB / 1.251 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/1.023, allocations: 112 kB / 1.251 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/1.023, allocations: 15.92 kB / 1.251 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.023, allocations: 8 kB / 1.251 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/1.023, allocations: 11.94 kB / 1.251 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.023, allocations: 4 kB / 1.251 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/1.025, allocations: 0.8374 MB / 1.252 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/1.026, allocations: 283.2 kB / 1.252 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/1.026, allocations: 11.98 kB / 1.252 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.027, allocations: 107.8 kB / 1.252 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.027, allocations: 35.84 kB / 1.252 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/1.027, allocations: 27.97 kB / 1.252 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001613/1.029, allocations: 0.92 MB / 1.253 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.81e-07/1.029, allocations: 0 / 1.253 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002069/1.031, allocations: 0.5849 MB / 1.253 GB, free: 1.273 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0007361/1.032, allocations: 267.6 kB / 1.254 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002987/1.035, allocations: 1.158 MB / 1.255 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.035, allocations: 0 / 1.255 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006854/1.036, allocations: 280.9 kB / 1.255 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/1.039, allocations: 0.6274 MB / 1.256 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/1.045, allocations: 2.661 MB / 1.258 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/1.046, allocations: 1.181 MB / 1.259 GB, free: 11 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001781/1.048, allocations: 354.7 kB / 1.26 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.048, allocations: 99.41 kB / 1.26 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/1.048, allocations: 0 / 1.26 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of Templates: time 0.04002/1.088, allocations: 22.47 MB / 1.282 GB, free: 4.316 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)