Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001195/0.001195, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001349/0.001349, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 59.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2443/1.26, allocations: 209.5 MB / 1.372 GB, free: 1.5 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03224/1.292, allocations: 19.07 MB / 1.391 GB, free: 14.38 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004791/1.297, allocations: 95.5 kB / 1.391 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006976/1.304, allocations: 2.099 MB / 1.393 GB, free: 12.18 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01263/1.317, allocations: 3.708 MB / 1.396 GB, free: 8.453 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.009381/1.326, allocations: 2.565 MB / 1.399 GB, free: 5.902 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02372/1.35, allocations: 13.68 MB / 1.412 GB, free: 8.195 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00829/1.358, allocations: 4.009 MB / 1.416 GB, free: 4.117 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/1.369, allocations: 3.761 MB / 1.42 GB, free: 368 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006319/1.375, allocations: 3.08 MB / 1.423 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001859/1.377, allocations: 420 kB / 1.423 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007896/1.385, allocations: 2.644 MB / 1.426 GB, free: 10.21 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002746/1.388, allocations: 1.344 MB / 1.427 GB, free: 8.863 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.006124/1.394, allocations: 2.387 MB / 1.429 GB, free: 6.465 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/1.41, allocations: 7.424 MB / 1.437 GB, free: 15.02 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/1.41, allocations: 0 / 1.437 GB, free: 15.02 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.515e-06/1.41, allocations: 0 / 1.437 GB, free: 15.02 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000292/1.41, allocations: 0 / 1.437 GB, free: 15.02 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 589 * Number of variables: 589 Notification: Performance of Generate backend data structure: time 0.01691/1.427, allocations: 4.977 MB / 1.441 GB, free: 9.961 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/1.427, allocations: 12.88 kB / 1.441 GB, free: 9.949 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008047/1.435, allocations: 1.056 MB / 1.443 GB, free: 8.887 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/1.449, allocations: 4.813 MB / 1.447 GB, free: 4.008 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/1.449, allocations: 192.5 kB / 1.447 GB, free: 3.816 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/1.45, allocations: 247.9 kB / 1.448 GB, free: 3.574 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009321/1.46, allocations: 3.198 MB / 1.451 GB, free: 228 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.787e-05/1.46, allocations: 3.938 kB / 1.451 GB, free: 224 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/1.46, allocations: 104 kB / 1.451 GB, free: 120 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/1.46, allocations: 100.3 kB / 1.451 GB, free: 16 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00524/1.466, allocations: 2.663 MB / 1.454 GB, free: 13.33 MB / 1.186 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.02512/1.491, allocations: 13.64 MB / 1.467 GB, free: 15.05 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/1.494, allocations: 2.122 MB / 1.469 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/1.495, allocations: 0.9447 MB / 1.47 GB, free: 11.9 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/1.507, allocations: 4.611 MB / 1.474 GB, free: 7.055 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/1.509, allocations: 0.9778 MB / 1.475 GB, free: 6.059 MB / 1.201 GB Notification: Performance of pre-optimization done (n=128): time 3.096e-06/1.509, allocations: 0 / 1.475 GB, free: 6.059 MB / 1.201 GB Notification: Performance of matching and sorting (n=131): time 0.01286/1.522, allocations: 5.493 MB / 1.481 GB, free: 404 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/1.522, allocations: 90.42 kB / 1.481 GB, free: 292 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005387/1.528, allocations: 3.643 MB / 1.484 GB, free: 12.66 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/1.528, allocations: 61.7 kB / 1.484 GB, free: 12.59 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.53, allocations: 1.667 MB / 1.486 GB, free: 10.91 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/1.53, allocations: 477.4 kB / 1.486 GB, free: 10.44 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008499/1.531, allocations: 0.5238 MB / 1.487 GB, free: 9.906 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.531, allocations: 309.1 kB / 1.487 GB, free: 9.602 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/1.533, allocations: 1.19 MB / 1.488 GB, free: 8.402 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/1.536, allocations: 1.801 MB / 1.49 GB, free: 6.355 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004357/1.541, allocations: 2.779 MB / 1.493 GB, free: 3.348 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.541, allocations: 4 kB / 1.493 GB, free: 3.344 MB / 1.217 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.01239/1.553, allocations: 4.188 MB / 1.497 GB, free: 15.14 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/1.553, allocations: 12 kB / 1.497 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/1.553, allocations: 16 kB / 1.497 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006973/1.56, allocations: 1.082 MB / 1.498 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/1.563, allocations: 0.5148 MB / 1.499 GB, free: 13.51 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/1.568, allocations: 3.206 MB / 1.502 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003928/1.572, allocations: 183.8 kB / 1.502 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/1.573, allocations: 116.1 kB / 1.502 GB, free: 9.848 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004242/1.577, allocations: 2.14 MB / 1.504 GB, free: 7.699 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00282/1.58, allocations: 1.773 MB / 1.506 GB, free: 5.672 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004151/1.584, allocations: 2.684 MB / 1.508 GB, free: 2.758 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.536e-06/1.584, allocations: 8 kB / 1.508 GB, free: 2.75 MB / 1.232 GB Notification: Performance of matching and sorting (n=320) (initialization_lambda0): time 0.01202/1.596, allocations: 4.078 MB / 1.512 GB, free: 14.65 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/1.596, allocations: 14.34 kB / 1.512 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/1.596, allocations: 19.98 kB / 1.512 GB, free: 14.62 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006924/1.603, allocations: 1.078 MB / 1.514 GB, free: 13.54 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/1.605, allocations: 0.5031 MB / 1.514 GB, free: 13.03 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/1.611, allocations: 3.226 MB / 1.517 GB, free: 9.648 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/1.615, allocations: 184.4 kB / 1.517 GB, free: 9.469 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004375/1.616, allocations: 112 kB / 1.517 GB, free: 9.359 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (272): * Single equations (assignments): 268 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.000811/1.617, allocations: 312.8 kB / 1.518 GB, free: 9.047 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.618, allocations: 347.6 kB / 1.518 GB, free: 8.703 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004778/1.622, allocations: 2.285 MB / 1.52 GB, free: 6.391 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003298/1.626, allocations: 1.959 MB / 1.522 GB, free: 4.344 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.626, allocations: 0 / 1.522 GB, free: 4.344 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/1.628, allocations: 0.6489 MB / 1.523 GB, free: 3.672 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/1.628, allocations: 32 kB / 1.523 GB, free: 3.641 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.63, allocations: 107.9 kB / 1.523 GB, free: 3.535 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/1.63, allocations: 101.2 kB / 1.523 GB, free: 3.434 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005099/1.635, allocations: 2.309 MB / 1.525 GB, free: 1.102 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004914/1.64, allocations: 3.079 MB / 1.528 GB, free: 13.99 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001276/1.641, allocations: 0.8417 MB / 1.529 GB, free: 13.15 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004034/1.645, allocations: 2.453 MB / 1.532 GB, free: 10.72 MB / 1.264 GB Notification: Performance of Backend: time 4.01e-07/1.645, allocations: 0 / 1.532 GB, free: 10.72 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01566/1.661, allocations: 5.185 MB / 1.537 GB, free: 5.656 MB / 1.264 GB Notification: Performance of SimCode: time 0.01838/1.68, allocations: 8.812 MB / 1.545 GB, free: 12.84 MB / 1.279 GB Notification: Performance of Templates: time 0.9861/2.666, allocations: 89.91 MB / 1.633 GB, free: 316.9 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)