Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001739/0.001739, allocations: 112.2 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.001487/0.001487, allocations: 187.9 kB / 17.34 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.435/1.435, allocations: 222.9 MB / 241.1 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.646/2.646, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.506/2.687, allocations: 0.5152 GB / 1.683 GB, free: 50.78 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.107/2.794, allocations: 73.53 MB / 1.754 GB, free: 41.3 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02485/2.819, allocations: 459.7 kB / 1.755 GB, free: 41.3 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01975/2.839, allocations: 6.091 MB / 1.761 GB, free: 39.45 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04627/2.885, allocations: 14.72 MB / 1.775 GB, free: 32.88 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02901/2.914, allocations: 10.73 MB / 1.786 GB, free: 26.12 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.05318/2.967, allocations: 39.05 MB / 1.824 GB, free: 4.223 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02237/2.99, allocations: 12.8 MB / 1.836 GB, free: 7.477 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0336/3.023, allocations: 12.69 MB / 1.849 GB, free: 11.49 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0196/3.043, allocations: 9.623 MB / 1.858 GB, free: 2.535 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.006208/3.049, allocations: 1.289 MB / 1.859 GB, free: 1.246 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02284/3.072, allocations: 6.672 MB / 1.866 GB, free: 10.95 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.008567/3.081, allocations: 3.814 MB / 1.869 GB, free: 7.195 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02221/3.103, allocations: 7.585 MB / 1.877 GB, free: 15.65 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.04808/3.151, allocations: 21.71 MB / 1.898 GB, free: 10.64 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/3.151, allocations: 3.938 kB / 1.898 GB, free: 10.64 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.275e-06/3.151, allocations: 0 / 1.898 GB, free: 10.64 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0008605/3.152, allocations: 0 / 1.898 GB, free: 10.64 MB / 1.373 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.04551/3.198, allocations: 15 MB / 1.913 GB, free: 11.59 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/3.198, allocations: 12.03 kB / 1.913 GB, free: 11.58 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/3.215, allocations: 2.367 MB / 1.915 GB, free: 9.199 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03732/3.252, allocations: 12.81 MB / 1.928 GB, free: 12.57 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008219/3.253, allocations: 0.6244 MB / 1.928 GB, free: 11.95 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003269/3.256, allocations: 0.8348 MB / 1.929 GB, free: 11.12 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02921/3.285, allocations: 9.327 MB / 1.938 GB, free: 1.477 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000445/3.286, allocations: 19.78 kB / 1.938 GB, free: 1.457 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002953/3.289, allocations: 344.1 kB / 1.938 GB, free: 1.125 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003983/3.289, allocations: 327.1 kB / 1.939 GB, free: 0.8047 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/3.312, allocations: 7.622 MB / 1.946 GB, free: 9.176 MB / 1.42 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.09619/3.408, allocations: 44.33 MB / 1.99 GB, free: 10.36 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/3.421, allocations: 5.444 MB / 1.995 GB, free: 4.824 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007258/3.428, allocations: 2.665 MB / 1.997 GB, free: 2.137 MB / 1.467 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.03813/3.466, allocations: 11.29 MB / 2.008 GB, free: 6.48 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008167/3.474, allocations: 2.796 MB / 2.011 GB, free: 3.645 MB / 1.482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005882/3.48, allocations: 426.8 kB / 2.012 GB, free: 3.227 MB / 1.482 GB Notification: Performance of pre-optimization done (n=470): time 3.176e-05/3.48, allocations: 3.938 kB / 2.012 GB, free: 3.223 MB / 1.482 GB Notification: Performance of matching and sorting (n=478): time 0.06879/3.549, allocations: 19.47 MB / 2.031 GB, free: 15.46 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002442/3.55, allocations: 397.8 kB / 2.031 GB, free: 15 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02707/3.577, allocations: 9.839 MB / 2.041 GB, free: 5.227 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.002662/3.579, allocations: 161.7 kB / 2.041 GB, free: 5.062 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.01268/3.592, allocations: 5.579 MB / 2.046 GB, free: 15.49 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.004428/3.597, allocations: 1.613 MB / 2.048 GB, free: 13.89 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007535/3.604, allocations: 1.516 MB / 2.049 GB, free: 12.38 MB / 1.529 GB Notification: Performance of setup shared object (initialization): time 0.0001395/3.604, allocations: 301.1 kB / 2.05 GB, free: 12.08 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007916/3.612, allocations: 2.739 MB / 2.052 GB, free: 9.332 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00997/3.622, allocations: 4.68 MB / 2.057 GB, free: 3.863 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/3.638, allocations: 6.914 MB / 2.064 GB, free: 12.27 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.279e-05/3.638, allocations: 19.94 kB / 2.064 GB, free: 12.25 MB / 1.545 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03584/3.674, allocations: 9.711 MB / 2.073 GB, free: 2.438 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/3.674, allocations: 24 kB / 2.073 GB, free: 2.414 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.422e-05/3.674, allocations: 47.94 kB / 2.073 GB, free: 2.367 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/3.684, allocations: 1.782 MB / 2.075 GB, free: 0.5781 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007432/3.692, allocations: 1.439 MB / 2.076 GB, free: 15.14 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/3.705, allocations: 8.224 MB / 2.084 GB, free: 6.422 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/3.717, allocations: 464.2 kB / 2.085 GB, free: 5.969 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/3.719, allocations: 319.9 kB / 2.085 GB, free: 5.656 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01468/3.734, allocations: 4.82 MB / 2.09 GB, free: 0.8281 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01078/3.745, allocations: 4.575 MB / 2.094 GB, free: 11.46 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01583/3.761, allocations: 6.706 MB / 2.101 GB, free: 4.07 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.346e-05/3.761, allocations: 16 kB / 2.101 GB, free: 4.055 MB / 1.576 GB Notification: Performance of matching and sorting (n=942) (initialization_lambda0): time 0.03217/3.793, allocations: 9.342 MB / 2.11 GB, free: 10.61 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/3.793, allocations: 24 kB / 2.11 GB, free: 10.58 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-05/3.793, allocations: 51.98 kB / 2.11 GB, free: 10.53 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008929/3.802, allocations: 1.573 MB / 2.112 GB, free: 8.941 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006855/3.809, allocations: 1.396 MB / 2.113 GB, free: 7.543 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/3.824, allocations: 10.47 MB / 2.123 GB, free: 12.47 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01265/3.837, allocations: 0.4888 MB / 2.124 GB, free: 11.98 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002264/3.839, allocations: 303.9 kB / 2.124 GB, free: 11.69 MB / 1.607 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.003835/3.843, allocations: 0.6165 MB / 2.124 GB, free: 11.06 MB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005289/3.849, allocations: 1.034 MB / 2.125 GB, free: 10.02 MB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02021/3.869, allocations: 6.667 MB / 2.132 GB, free: 3.223 MB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01497/3.884, allocations: 4.929 MB / 2.137 GB, free: 14.18 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-05/3.884, allocations: 0 / 2.137 GB, free: 14.18 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007818/3.892, allocations: 1.753 MB / 2.139 GB, free: 12.39 MB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00445/3.896, allocations: 108 kB / 2.139 GB, free: 12.29 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008833/3.905, allocations: 333.8 kB / 2.139 GB, free: 11.96 MB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001558/3.907, allocations: 395.6 kB / 2.139 GB, free: 11.57 MB / 1.623 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01973/3.926, allocations: 6.311 MB / 2.145 GB, free: 5.234 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02292/3.949, allocations: 8.743 MB / 2.154 GB, free: 12.33 MB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005388/3.955, allocations: 2.376 MB / 2.156 GB, free: 9.922 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.01709/3.972, allocations: 6.482 MB / 2.163 GB, free: 3.504 MB / 1.639 GB Notification: Performance of Backend: time 1.082e-06/3.972, allocations: 0 / 2.163 GB, free: 3.504 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.04425/4.016, allocations: 12.84 MB / 2.175 GB, free: 6.988 MB / 1.654 GB Notification: Performance of SimCode: time 1.553/5.569, allocations: 24.72 MB / 2.199 GB, free: 0.6918 GB / 1.654 GB Notification: Performance of Templates: time 0.3505/5.92, allocations: 228.3 MB / 2.422 GB, free: 0.5004 GB / 1.654 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System7.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System7.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1)