Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 115.1 kB / 16.42 MB, free: 6.488 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.00159/0.00159, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.09 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.521/2.521, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumRad.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2831/1.297, allocations: 209.1 MB / 1.293 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03211/1.329, allocations: 17.26 MB / 1.31 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005157/1.334, allocations: 99.44 kB / 1.31 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005042/1.339, allocations: 1.293 MB / 1.311 GB, free: 9.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/1.353, allocations: 3.542 MB / 1.314 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008213/1.361, allocations: 2.464 MB / 1.317 GB, free: 3.805 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01567/1.377, allocations: 10.78 MB / 1.327 GB, free: 8.996 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007061/1.384, allocations: 3.97 MB / 1.331 GB, free: 4.961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/1.395, allocations: 3.756 MB / 1.335 GB, free: 1.215 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00776/1.402, allocations: 3.016 MB / 1.338 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002147/1.405, allocations: 407.9 kB / 1.338 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007178/1.412, allocations: 2.472 MB / 1.341 GB, free: 11.32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002562/1.414, allocations: 1.2 MB / 1.342 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005809/1.42, allocations: 2.209 MB / 1.344 GB, free: 7.895 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01302/1.433, allocations: 6.82 MB / 1.351 GB, free: 1.055 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.433, allocations: 0 / 1.351 GB, free: 1.055 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.775e-06/1.433, allocations: 0 / 1.351 GB, free: 1.055 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002293/1.434, allocations: 0 / 1.351 GB, free: 1.055 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.01339/1.447, allocations: 4.548 MB / 1.355 GB, free: 12.43 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.447, allocations: 8.031 kB / 1.355 GB, free: 12.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007472/1.455, allocations: 1.01 MB / 1.356 GB, free: 11.41 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/1.465, allocations: 3.78 MB / 1.36 GB, free: 7.559 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/1.466, allocations: 184.5 kB / 1.36 GB, free: 7.375 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.467, allocations: 255.9 kB / 1.36 GB, free: 7.125 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009133/1.476, allocations: 3.189 MB / 1.363 GB, free: 3.785 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/1.476, allocations: 7.938 kB / 1.363 GB, free: 3.777 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007676/1.477, allocations: 104 kB / 1.363 GB, free: 3.676 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/1.477, allocations: 104.4 kB / 1.364 GB, free: 3.57 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006929/1.484, allocations: 2.659 MB / 1.366 GB, free: 0.8945 MB / 1.092 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.02873/1.513, allocations: 13.28 MB / 1.379 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/1.517, allocations: 2.158 MB / 1.381 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/1.519, allocations: 0.9643 MB / 1.382 GB, free: 15.76 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/1.531, allocations: 4.544 MB / 1.387 GB, free: 10.99 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/1.534, allocations: 0.9383 MB / 1.387 GB, free: 10.04 MB / 1.123 GB Notification: Performance of pre-optimization done (n=129): time 4.679e-06/1.534, allocations: 0 / 1.387 GB, free: 10.04 MB / 1.123 GB Notification: Performance of matching and sorting (n=132): time 0.01522/1.549, allocations: 5.457 MB / 1.393 GB, free: 4.402 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/1.549, allocations: 68.72 kB / 1.393 GB, free: 4.324 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007384/1.556, allocations: 3.042 MB / 1.396 GB, free: 1.273 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005237/1.557, allocations: 65.7 kB / 1.396 GB, free: 1.203 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.559, allocations: 1.533 MB / 1.397 GB, free: 15.66 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008942/1.56, allocations: 473.3 kB / 1.398 GB, free: 15.19 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/1.561, allocations: 427.1 kB / 1.398 GB, free: 14.76 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.561, allocations: 305.1 kB / 1.399 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/1.564, allocations: 1.024 MB / 1.4 GB, free: 13.43 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/1.567, allocations: 1.582 MB / 1.401 GB, free: 11.62 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004836/1.572, allocations: 2.471 MB / 1.404 GB, free: 8.941 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/1.572, allocations: 4 kB / 1.404 GB, free: 8.938 MB / 1.139 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01029/1.582, allocations: 3.412 MB / 1.407 GB, free: 5.508 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/1.582, allocations: 12 kB / 1.407 GB, free: 5.496 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/1.582, allocations: 16 kB / 1.407 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007222/1.59, allocations: 1.087 MB / 1.408 GB, free: 4.387 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/1.592, allocations: 475.2 kB / 1.408 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/1.598, allocations: 3.159 MB / 1.411 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004553/1.602, allocations: 168.4 kB / 1.412 GB, free: 448 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009387/1.603, allocations: 99.95 kB / 1.412 GB, free: 348 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005687/1.609, allocations: 1.862 MB / 1.414 GB, free: 14.47 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003261/1.612, allocations: 1.524 MB / 1.415 GB, free: 12.71 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004481/1.617, allocations: 2.353 MB / 1.417 GB, free: 10.14 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.852e-05/1.617, allocations: 4 kB / 1.417 GB, free: 10.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.01027/1.627, allocations: 3.287 MB / 1.421 GB, free: 6.836 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/1.627, allocations: 15.94 kB / 1.421 GB, free: 6.82 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/1.627, allocations: 16 kB / 1.421 GB, free: 6.805 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007455/1.635, allocations: 1.079 MB / 1.422 GB, free: 5.719 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/1.637, allocations: 463.3 kB / 1.422 GB, free: 5.266 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006003/1.643, allocations: 3.161 MB / 1.425 GB, free: 1.941 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/1.647, allocations: 164.5 kB / 1.425 GB, free: 1.781 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/1.648, allocations: 91.97 kB / 1.425 GB, free: 1.691 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.y,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 235 * Array equations: 1 * Algorithm blocks: 0 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001108/1.649, allocations: 314.7 kB / 1.426 GB, free: 1.379 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/1.65, allocations: 308.2 kB / 1.426 GB, free: 1.074 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/1.656, allocations: 2.293 MB / 1.428 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003699/1.66, allocations: 1.979 MB / 1.43 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.66, allocations: 0 / 1.43 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/1.662, allocations: 0.5986 MB / 1.431 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.663, allocations: 35.98 kB / 1.431 GB, free: 12.03 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.666, allocations: 95.89 kB / 1.431 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/1.666, allocations: 101.2 kB / 1.431 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005846/1.672, allocations: 2.344 MB / 1.433 GB, free: 9.465 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005778/1.678, allocations: 3.088 MB / 1.436 GB, free: 6.355 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001494/1.679, allocations: 0.8495 MB / 1.437 GB, free: 5.508 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.004331/1.684, allocations: 2.073 MB / 1.439 GB, free: 3.441 MB / 1.17 GB Notification: Performance of Backend: time 1.382e-06/1.684, allocations: 3.938 kB / 1.439 GB, free: 3.438 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01563/1.699, allocations: 4.433 MB / 1.443 GB, free: 15.15 MB / 1.186 GB Notification: Performance of SimCode: time 0.02088/1.72, allocations: 7.995 MB / 1.451 GB, free: 7.152 MB / 1.186 GB Notification: Performance of Templates: time 0.1391/1.859, allocations: 82.21 MB / 1.532 GB, free: 5.637 MB / 1.264 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)