Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System6.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.System6,tolerance=1e-06,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.System6") translateModel(Buildings.Examples.Tutorial.Boiler.System6,tolerance=1e-06,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.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 111 kB / 16.42 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.001817/0.001817, allocations: 188.3 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.434/1.434, 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 11.0.1-master/package.mo): time 2.808/2.808, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001483, allocations: 63.91 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.133, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System6): time 1.638/2.771, allocations: 0.5142 GB / 1.735 GB, free: 42.13 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09406/2.865, allocations: 73.07 MB / 1.806 GB, free: 7.73 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02231/2.887, allocations: 441 kB / 1.807 GB, free: 7.453 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01801/2.905, allocations: 6.02 MB / 1.813 GB, free: 2.762 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04565/2.951, allocations: 14.69 MB / 1.827 GB, free: 4.027 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02809/2.979, allocations: 10.5 MB / 1.837 GB, free: 9.605 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.05988/3.039, allocations: 38.56 MB / 1.875 GB, free: 2.949 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02782/3.067, allocations: 12.43 MB / 1.887 GB, free: 6.383 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03545/3.102, allocations: 12.51 MB / 1.899 GB, free: 9.871 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02051/3.123, allocations: 9.426 MB / 1.909 GB, free: 420 kB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.006662/3.13, allocations: 1.254 MB / 1.91 GB, free: 15.15 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02592/3.156, allocations: 6.63 MB / 1.916 GB, free: 8.516 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.008137/3.164, allocations: 3.691 MB / 1.92 GB, free: 4.812 MB / 1.389 GB Notification: Performance of NFVerifyModel.verify: time 0.02009/3.184, allocations: 7.394 MB / 1.927 GB, free: 13.38 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.0446/3.228, allocations: 21.19 MB / 1.948 GB, free: 8.125 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/3.229, allocations: 0 / 1.948 GB, free: 8.125 MB / 1.42 GB Notification: Performance of FrontEnd: time 2.124e-06/3.229, allocations: 3.938 kB / 1.948 GB, free: 8.121 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.0009031/3.229, allocations: 0 / 1.948 GB, free: 8.121 MB / 1.42 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1933 * Number of variables: 1933 Notification: Performance of Generate backend data structure: time 0.04695/3.276, allocations: 14.56 MB / 1.962 GB, free: 9.402 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/3.277, allocations: 11.98 kB / 1.962 GB, free: 9.391 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/3.291, allocations: 2.329 MB / 1.964 GB, free: 7.043 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03321/3.324, allocations: 12.6 MB / 1.977 GB, free: 10.33 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008034/3.325, allocations: 0.5966 MB / 1.977 GB, free: 9.73 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003305/3.329, allocations: 0.785 MB / 1.978 GB, free: 8.945 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/3.356, allocations: 8.881 MB / 1.987 GB, free: 15.77 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004174/3.357, allocations: 23.78 kB / 1.987 GB, free: 15.75 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002845/3.36, allocations: 323.8 kB / 1.987 GB, free: 15.43 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003585/3.36, allocations: 310.2 kB / 1.987 GB, free: 15.13 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/3.38, allocations: 7.308 MB / 1.994 GB, free: 7.809 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 removeSimpleEquations (simulation): time 0.08202/3.462, allocations: 42.84 MB / 2.036 GB, free: 10.13 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/3.475, allocations: 5.049 MB / 2.041 GB, free: 4.992 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006167/3.481, allocations: 2.513 MB / 2.044 GB, free: 2.477 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.03343/3.514, allocations: 10.8 MB / 2.054 GB, free: 7.184 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006729/3.521, allocations: 2.636 MB / 2.057 GB, free: 4.512 MB / 1.529 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005548/3.527, allocations: 395.6 kB / 2.057 GB, free: 4.121 MB / 1.529 GB Notification: Performance of pre-optimization done (n=431): time 2.02e-05/3.527, allocations: 0 / 2.057 GB, free: 4.121 MB / 1.529 GB Notification: Performance of matching and sorting (n=439): time 0.05184/3.579, allocations: 15.37 MB / 2.072 GB, free: 4.484 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/3.579, allocations: 330.1 kB / 2.072 GB, free: 4.094 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02382/3.603, allocations: 9.698 MB / 2.082 GB, free: 10.46 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.001672/3.604, allocations: 141.7 kB / 2.082 GB, free: 10.31 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.007808/3.612, allocations: 5.426 MB / 2.087 GB, free: 4.852 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.002954/3.615, allocations: 1.517 MB / 2.089 GB, free: 3.312 MB / 1.561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004971/3.62, allocations: 1.409 MB / 2.09 GB, free: 1.891 MB / 1.561 GB Notification: Performance of setup shared object (initialization): time 0.000111/3.62, allocations: 305.1 kB / 2.091 GB, free: 1.59 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006468/3.627, allocations: 2.631 MB / 2.093 GB, free: 14.95 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008699/3.635, allocations: 4.503 MB / 2.097 GB, free: 9.688 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/3.65, allocations: 6.644 MB / 2.104 GB, free: 2.395 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.706e-05/3.65, allocations: 12 kB / 2.104 GB, free: 2.383 MB / 1.576 GB Notification: Performance of matching and sorting (n=882) (initialization): time 0.03152/3.682, allocations: 9.384 MB / 2.113 GB, free: 8.879 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/3.682, allocations: 20 kB / 2.113 GB, free: 8.859 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.009e-05/3.682, allocations: 44 kB / 2.113 GB, free: 8.816 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/3.692, allocations: 1.765 MB / 2.115 GB, free: 7.035 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00851/3.701, allocations: 1.385 MB / 2.116 GB, free: 5.648 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/3.714, allocations: 8.23 MB / 2.124 GB, free: 12.92 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/3.724, allocations: 448.2 kB / 2.125 GB, free: 12.48 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/3.726, allocations: 295.9 kB / 2.125 GB, free: 12.2 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0123/3.738, allocations: 4.679 MB / 2.13 GB, free: 7.508 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00888/3.747, allocations: 4.393 MB / 2.134 GB, free: 2.363 MB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01289/3.76, allocations: 6.422 MB / 2.14 GB, free: 11.29 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-05/3.76, allocations: 12 kB / 2.14 GB, free: 11.28 MB / 1.623 GB Notification: Performance of matching and sorting (n=882) (initialization_lambda0): time 0.02684/3.787, allocations: 9.017 MB / 2.149 GB, free: 2.145 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 9.652e-05/3.787, allocations: 24 kB / 2.149 GB, free: 2.121 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/3.787, allocations: 43.98 kB / 2.149 GB, free: 2.078 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009119/3.796, allocations: 1.578 MB / 2.151 GB, free: 496 kB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00704/3.804, allocations: 1.353 MB / 2.152 GB, free: 15.13 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/3.818, allocations: 10.41 MB / 2.162 GB, free: 4.113 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/3.829, allocations: 484.5 kB / 2.163 GB, free: 3.641 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/3.831, allocations: 283.9 kB / 2.163 GB, free: 3.363 MB / 1.639 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 190 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conPIDRad.con1.y,conPIDBoi.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,hysPum.y,$PRE.hysPum.y,and2.y,and1.y,hysTBoi.y,$PRE.hysTBoi.y,hysTOut.y,$PRE.hysTOut.y,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 751 * 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.002951/3.834, allocations: 0.5795 MB / 2.163 GB, free: 2.777 MB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004262/3.838, allocations: 1.003 MB / 2.164 GB, free: 1.762 MB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/3.856, allocations: 6.372 MB / 2.171 GB, free: 11.34 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01184/3.868, allocations: 4.702 MB / 2.175 GB, free: 6.594 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/3.868, allocations: 0 / 2.175 GB, free: 6.594 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007001/3.875, allocations: 1.706 MB / 2.177 GB, free: 4.855 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004055/3.879, allocations: 107.9 kB / 2.177 GB, free: 4.75 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008771/3.888, allocations: 324.8 kB / 2.177 GB, free: 4.434 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001794/3.89, allocations: 359.3 kB / 2.178 GB, free: 4.082 MB / 1.654 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01795/3.908, allocations: 5.87 MB / 2.183 GB, free: 14.16 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01906/3.927, allocations: 8.179 MB / 2.191 GB, free: 5.934 MB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004456/3.932, allocations: 2.217 MB / 2.193 GB, free: 3.715 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.9749/4.907, allocations: 6.41 MB / 2.2 GB, free: 0.6685 GB / 1.67 GB Notification: Performance of Backend: time 1.553e-06/4.907, allocations: 0.5312 kB / 2.2 GB, free: 0.6685 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.05224/4.959, allocations: 12.44 MB / 2.212 GB, free: 0.6656 GB / 1.67 GB Notification: Performance of SimCode: time 0.0658/5.025, allocations: 24.2 MB / 2.235 GB, free: 0.6558 GB / 1.67 GB Notification: Performance of Templates: time 0.3353/5.36, allocations: 223.1 MB / 2.453 GB, free: 472.4 MB / 1.67 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System6.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System6.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1)