Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.Tutorial.Boiler.System7,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|TSetSup.y|temRet.T|TSetBoiRet.y",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7") translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|TSetSup.y|temRet.T|TSetBoiRet.y",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108.3 kB / 16.41 MB, free: 6.496 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.001634/0.001634, allocations: 193.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.449/1.449, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 461.7 MB / 0.7352 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 63.91 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.528/2.532, allocations: 0.5152 GB / 1.723 GB, free: 48.89 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1035/2.636, allocations: 73.52 MB / 1.795 GB, free: 25.2 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02543/2.661, allocations: 453.4 kB / 1.796 GB, free: 24.91 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02138/2.683, allocations: 5.96 MB / 1.801 GB, free: 20.74 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04817/2.731, allocations: 14.09 MB / 1.815 GB, free: 6.672 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.03141/2.762, allocations: 10.7 MB / 1.826 GB, free: 12.06 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06422/2.826, allocations: 39.01 MB / 1.864 GB, free: 4.953 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03468/2.861, allocations: 12.8 MB / 1.876 GB, free: 8.016 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0345/2.896, allocations: 12.33 MB / 1.888 GB, free: 11.69 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02169/2.917, allocations: 9.612 MB / 1.898 GB, free: 2.039 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.00777/2.925, allocations: 1.293 MB / 1.899 GB, free: 0.7461 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02716/2.952, allocations: 6.67 MB / 1.905 GB, free: 10.07 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.009137/2.962, allocations: 3.808 MB / 1.909 GB, free: 6.246 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02186/2.984, allocations: 7.589 MB / 1.917 GB, free: 14.62 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.05102/3.035, allocations: 21.68 MB / 1.938 GB, free: 8.879 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/3.035, allocations: 0 / 1.938 GB, free: 8.879 MB / 1.404 GB Notification: Performance of FrontEnd: time 4.118e-06/3.035, allocations: 4 kB / 1.938 GB, free: 8.875 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001419/3.036, allocations: 0 / 1.938 GB, free: 8.875 MB / 1.404 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2049 * Number of variables: 2049 Notification: Performance of Generate backend data structure: time 0.05443/3.091, allocations: 15.01 MB / 1.952 GB, free: 9.695 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/3.091, allocations: 8.031 kB / 1.952 GB, free: 9.688 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/3.107, allocations: 2.372 MB / 1.955 GB, free: 7.297 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03621/3.144, allocations: 12.81 MB / 1.967 GB, free: 10.38 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008555/3.144, allocations: 0.6288 MB / 1.968 GB, free: 9.754 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003581/3.148, allocations: 0.8357 MB / 1.969 GB, free: 8.918 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03146/3.18, allocations: 9.327 MB / 1.978 GB, free: 15.26 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/3.18, allocations: 23.78 kB / 1.978 GB, free: 15.23 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002061/3.182, allocations: 336 kB / 1.978 GB, free: 14.91 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003198/3.182, allocations: 327.2 kB / 1.978 GB, free: 14.59 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/3.203, allocations: 7.612 MB / 1.986 GB, free: 6.965 MB / 1.451 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.08907/3.293, allocations: 44.33 MB / 2.029 GB, free: 7.777 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/3.305, allocations: 5.459 MB / 2.034 GB, free: 2.215 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006227/3.311, allocations: 2.643 MB / 2.037 GB, free: 15.55 MB / 1.514 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 evalFunc (simulation): time 0.03973/3.351, allocations: 11.31 MB / 2.048 GB, free: 3.75 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007747/3.359, allocations: 2.796 MB / 2.051 GB, free: 0.918 MB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005755/3.364, allocations: 423.4 kB / 2.051 GB, free: 0.5 MB / 1.514 GB Notification: Performance of pre-optimization done (n=470): time 4.604e-05/3.365, allocations: 0 / 2.051 GB, free: 0.5 MB / 1.514 GB Notification: Performance of matching and sorting (n=478): time 0.06365/3.428, allocations: 19.47 MB / 2.07 GB, free: 12.72 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/3.428, allocations: 397.8 kB / 2.071 GB, free: 12.25 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02403/3.452, allocations: 9.843 MB / 2.08 GB, free: 2.477 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001683/3.454, allocations: 157.7 kB / 2.08 GB, free: 2.316 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.008243/3.462, allocations: 5.583 MB / 2.086 GB, free: 12.7 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.003296/3.466, allocations: 1.614 MB / 2.087 GB, free: 11.06 MB / 1.561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006235/3.472, allocations: 1.521 MB / 2.089 GB, free: 9.535 MB / 1.561 GB Notification: Performance of setup shared object (initialization): time 0.0001167/3.472, allocations: 301.1 kB / 2.089 GB, free: 9.238 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006937/3.479, allocations: 2.736 MB / 2.092 GB, free: 6.492 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/3.488, allocations: 4.673 MB / 2.096 GB, free: 1.031 MB / 1.561 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01458/3.503, allocations: 6.916 MB / 2.103 GB, free: 9.43 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.87e-05/3.503, allocations: 16 kB / 2.103 GB, free: 9.414 MB / 1.576 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03325/3.536, allocations: 9.716 MB / 2.113 GB, free: 15.59 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/3.536, allocations: 24.94 kB / 2.113 GB, free: 15.56 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.91e-05/3.536, allocations: 47.94 kB / 2.113 GB, free: 15.52 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009512/3.546, allocations: 1.79 MB / 2.115 GB, free: 13.71 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007312/3.553, allocations: 1.435 MB / 2.116 GB, free: 12.27 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/3.567, allocations: 8.236 MB / 2.124 GB, free: 3.547 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/3.58, allocations: 459.8 kB / 2.124 GB, free: 3.098 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001798/3.581, allocations: 315.9 kB / 2.125 GB, free: 2.789 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01299/3.594, allocations: 4.82 MB / 2.129 GB, free: 13.96 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008353/3.603, allocations: 4.571 MB / 2.134 GB, free: 8.602 MB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01286/3.616, allocations: 6.706 MB / 2.14 GB, free: 1.203 MB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.318e-05/3.616, allocations: 12 kB / 2.14 GB, free: 1.191 MB / 1.607 GB Notification: Performance of matching and sorting (n=942) (initialization_lambda0): time 0.02792/3.644, allocations: 9.35 MB / 2.15 GB, free: 7.734 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/3.644, allocations: 24 kB / 2.15 GB, free: 7.711 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/3.644, allocations: 44.05 kB / 2.15 GB, free: 7.668 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008342/3.652, allocations: 1.589 MB / 2.151 GB, free: 6.066 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006342/3.659, allocations: 1.4 MB / 2.153 GB, free: 4.664 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/3.673, allocations: 10.47 MB / 2.163 GB, free: 9.582 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/3.684, allocations: 496 kB / 2.163 GB, free: 9.102 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001595/3.685, allocations: 307.9 kB / 2.164 GB, free: 8.801 MB / 1.639 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 79 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,T2.t_start,$PRE.T2.t_start,T1.t_start,$PRE.T1.t_start,$PRE.timTab.tab.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,conPIDRad.con1.y,conPIDBoi.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,greThrTROut.y,greThrTRoo.y,lessThreshold1.y,lessThreshold.y,pumpsOn.oldActive,$PRE.pumpsOn.oldActive,pumpsOn.newActive,$PRE.pumpsOn.newActive,pumpsOn.outPort[1].reset,pumpsOn.inPort[1].set,pumpsOn.localActive,$PRE.pumpsOn.localActive,pumpsOn.active,T4.t_start,$PRE.T4.t_start,T4.fire,T4.enableFire,T4.localCondition,T3.t_start,$PRE.T3.t_start,T3.fire,T3.enableFire,T3.localCondition,T2.enableFire,T2.localCondition,boilerOn.active,boilerOn.oldActive,$PRE.boilerOn.oldActive,boilerOn.newActive,$PRE.boilerOn.newActive,boilerOn.localActive,$PRE.boilerOn.localActive,T1.enableFire,T1.localCondition,allOff.active,allOff.oldActive,$PRE.allOff.oldActive,allOff.newActive,$PRE.allOff.newActive,allOff.localActive,$PRE.allOff.localActive,alternative.split[2].available,stateGraphRoot.activeSteps,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 811 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003209/3.689, allocations: 0.6091 MB / 2.164 GB, free: 8.184 MB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004765/3.693, allocations: 1.034 MB / 2.165 GB, free: 7.137 MB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/3.713, allocations: 6.664 MB / 2.172 GB, free: 344 kB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01154/3.724, allocations: 4.929 MB / 2.176 GB, free: 11.29 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/3.724, allocations: 0 / 2.176 GB, free: 11.29 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006787/3.731, allocations: 1.749 MB / 2.178 GB, free: 9.504 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00443/3.736, allocations: 108 kB / 2.178 GB, free: 9.398 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008308/3.744, allocations: 339.5 kB / 2.179 GB, free: 9.066 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/3.745, allocations: 383.6 kB / 2.179 GB, free: 8.688 MB / 1.654 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01744/3.763, allocations: 6.314 MB / 2.185 GB, free: 2.242 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 1.599/5.362, allocations: 8.74 MB / 2.194 GB, free: 0.6612 GB / 1.654 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005231/5.367, allocations: 2.38 MB / 2.196 GB, free: 0.6603 GB / 1.654 GB Notification: Performance of sorting global known variables: time 0.01726/5.385, allocations: 6.482 MB / 2.202 GB, free: 0.6582 GB / 1.654 GB Notification: Performance of Backend: time 8.71e-07/5.385, allocations: 0 / 2.202 GB, free: 0.6582 GB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.03885/5.424, allocations: 12.84 MB / 2.215 GB, free: 0.6543 GB / 1.654 GB Notification: Performance of SimCode: time 0.06054/5.484, allocations: 24.72 MB / 2.239 GB, free: 0.6443 GB / 1.654 GB Notification: Performance of Templates: time 0.3157/5.8, allocations: 225.8 MB / 2.46 GB, free: 446.4 MB / 1.654 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1)