Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 109.2 kB / 16.42 MB, free: 6.445 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.001771/0.001771, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8661, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.06118/0.9273, allocations: 57.85 MB / 1.145 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.9466, allocations: 11.89 MB / 1.157 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.9496, allocations: 52.78 kB / 1.157 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004341/0.954, allocations: 1.288 MB / 1.158 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008983/0.963, allocations: 2.215 MB / 1.16 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005671/0.9687, allocations: 1.596 MB / 1.162 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007613/0.9763, allocations: 3.93 MB / 1.166 GB, free: 14.94 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.9794, allocations: 1.315 MB / 1.167 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/0.9842, allocations: 1.467 MB / 1.168 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.9876, allocations: 1.199 MB / 1.169 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006888/0.9883, allocations: 142.3 kB / 1.17 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005477/0.9938, allocations: 1.652 MB / 1.171 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.995, allocations: 0.5685 MB / 1.172 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.9983, allocations: 1.067 MB / 1.173 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008922/1.007, allocations: 3.438 MB / 1.176 GB, free: 9.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.007, allocations: 1.094 kB / 1.176 GB, free: 9.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/1.007, allocations: 0 / 1.176 GB, free: 9.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001193/1.007, allocations: 0 / 1.176 GB, free: 9.332 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006822/1.014, allocations: 2.721 MB / 1.179 GB, free: 7.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.014, allocations: 9.094 kB / 1.179 GB, free: 7.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/1.015, allocations: 248.9 kB / 1.179 GB, free: 7.125 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/1.019, allocations: 1.927 MB / 1.181 GB, free: 5.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/1.019, allocations: 75.08 kB / 1.181 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/1.019, allocations: 101.9 kB / 1.181 GB, free: 5.719 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/1.021, allocations: 1.034 MB / 1.182 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.021, allocations: 1.031 kB / 1.182 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/1.021, allocations: 42.84 kB / 1.182 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/1.021, allocations: 27.12 kB / 1.182 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/1.022, allocations: 0.7319 MB / 1.183 GB, free: 4.684 MB / 0.92 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.007003/1.029, allocations: 4.771 MB / 1.188 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/1.03, allocations: 463.2 kB / 1.188 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/1.031, allocations: 319.4 kB / 1.188 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/1.031, allocations: 0.8329 MB / 1.189 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006665/1.032, allocations: 407.5 kB / 1.19 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=65): time 2.936e-06/1.032, allocations: 0 / 1.19 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=67): time 0.005985/1.038, allocations: 2.561 MB / 1.192 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/1.038, allocations: 120.9 kB / 1.192 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/1.043, allocations: 2.757 MB / 1.195 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/1.044, allocations: 40.27 kB / 1.195 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008634/1.044, allocations: 0.9019 MB / 1.196 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/1.045, allocations: 217.7 kB / 1.196 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/1.045, allocations: 162 kB / 1.196 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.045, allocations: 333.7 kB / 1.196 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/1.046, allocations: 272.1 kB / 1.197 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/1.046, allocations: 485.2 kB / 1.197 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.048, allocations: 0.8011 MB / 1.198 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.048, allocations: 1.094 kB / 1.198 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002399/1.05, allocations: 1.14 MB / 1.199 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.28e-05/1.05, allocations: 70.58 kB / 1.199 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.05, allocations: 4.438 kB / 1.199 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/1.051, allocations: 119.4 kB / 1.199 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/1.051, allocations: 130.4 kB / 1.199 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/1.053, allocations: 2.369 MB / 1.202 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.055, allocations: 54.33 kB / 1.202 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-05/1.055, allocations: 39.3 kB / 1.202 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001464/1.056, allocations: 0.7274 MB / 1.202 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000675/1.057, allocations: 480.2 kB / 1.203 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001031/1.058, allocations: 0.7891 MB / 1.204 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.058, allocations: 5.375 kB / 1.204 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.00218/1.06, allocations: 1.129 MB / 1.205 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/1.06, allocations: 70.39 kB / 1.205 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.06, allocations: 4.125 kB / 1.205 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/1.061, allocations: 119.5 kB / 1.205 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/1.061, allocations: 132.2 kB / 1.205 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.063, allocations: 2.366 MB / 1.207 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.065, allocations: 53.69 kB / 1.207 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.065, allocations: 35.38 kB / 1.208 GB, free: 2.047 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000399/1.065, allocations: 307.2 kB / 1.208 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007217/1.066, allocations: 206.7 kB / 1.208 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/1.069, allocations: 1.168 MB / 1.209 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/1.07, allocations: 0.9221 MB / 1.21 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.07, allocations: 4 kB / 1.21 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.071, allocations: 406.4 kB / 1.21 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006429/1.072, allocations: 16 kB / 1.21 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.073, allocations: 39.95 kB / 1.21 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.073, allocations: 36.52 kB / 1.211 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002015/1.075, allocations: 1.142 MB / 1.212 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002206/1.077, allocations: 1.502 MB / 1.213 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004787/1.078, allocations: 360.4 kB / 1.213 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003548/1.081, allocations: 1.96 MB / 1.215 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of Backend: time 1.984e-06/1.082, allocations: 0 / 1.215 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006711/1.088, allocations: 2.487 MB / 1.218 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of SimCode: time 0.007797/1.096, allocations: 4.357 MB / 1.222 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.06229/1.158, allocations: 36.85 MB / 1.258 GB, free: 15.17 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)