Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007559/0.0007596, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00442/0.00442, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005122, allocations: 18.88 kB / 0.6743 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2211, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.6228/0.8439, allocations: 203.8 MB / 0.9869 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02651/0.8705, allocations: 19.97 MB / 1.006 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.8737, allocations: 83.5 kB / 1.006 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.8769, allocations: 1.124 MB / 1.008 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009737/0.8867, allocations: 3.1 MB / 1.011 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008955/0.8957, allocations: 3.202 MB / 1.014 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01593/0.9116, allocations: 13.58 MB / 1.027 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005576/0.9173, allocations: 3.199 MB / 1.03 GB, free: 32 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00792/0.9252, allocations: 2.86 MB / 1.033 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/0.9311, allocations: 2.82 MB / 1.036 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005994/0.9317, allocations: 148.2 kB / 1.036 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007785/0.9395, allocations: 2.389 MB / 1.038 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.9407, allocations: 0.902 MB / 1.039 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003492/0.9442, allocations: 1.885 MB / 1.041 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.009974/0.9542, allocations: 6.593 MB / 1.047 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9543, allocations: 0 / 1.047 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.906e-06/0.9543, allocations: 0 / 1.047 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000193/0.9545, allocations: 0 / 1.047 GB, free: 2.785 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.008638/0.9631, allocations: 3.803 MB / 1.051 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9632, allocations: 8.031 kB / 1.051 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/0.9693, allocations: 0.9594 MB / 1.052 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009243/0.9786, allocations: 3.873 MB / 1.056 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.9789, allocations: 185.1 kB / 1.056 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008472/0.9798, allocations: 247.9 kB / 1.056 GB, free: 9.566 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005879/0.9856, allocations: 3.198 MB / 1.059 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/0.9857, allocations: 7.938 kB / 1.059 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/0.986, allocations: 99.98 kB / 1.059 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.9862, allocations: 100.4 kB / 1.059 GB, free: 6.008 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004826/0.991, allocations: 2.621 MB / 1.062 GB, free: 3.371 MB / 0.7637 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.02235/1.013, allocations: 13.15 MB / 1.075 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/1.016, allocations: 2.119 MB / 1.077 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/1.018, allocations: 0.9358 MB / 1.078 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.029, allocations: 4.469 MB / 1.082 GB, free: 13.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/1.031, allocations: 0.9227 MB / 1.083 GB, free: 12.79 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00131/1.032, allocations: 170.5 kB / 1.083 GB, free: 12.62 MB / 0.795 GB Notification: Performance of pre-optimization done (n=130): time 3.948e-06/1.032, allocations: 4 kB / 1.083 GB, free: 12.62 MB / 0.795 GB Notification: Performance of matching and sorting (n=134): time 0.01187/1.044, allocations: 5.399 MB / 1.089 GB, free: 7.051 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/1.044, allocations: 124.1 kB / 1.089 GB, free: 6.902 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/1.049, allocations: 2.901 MB / 1.091 GB, free: 3.992 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003145/1.049, allocations: 61.64 kB / 1.092 GB, free: 3.926 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.05, allocations: 1.525 MB / 1.093 GB, free: 2.387 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/1.051, allocations: 485.2 kB / 1.094 GB, free: 1.906 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/1.051, allocations: 185.6 kB / 1.094 GB, free: 1.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.051, allocations: 305.1 kB / 1.094 GB, free: 1.418 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/1.054, allocations: 1.023 MB / 1.095 GB, free: 400 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/1.056, allocations: 1.609 MB / 1.097 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004075/1.06, allocations: 2.478 MB / 1.099 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.06, allocations: 4 kB / 1.099 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01039/1.071, allocations: 3.647 MB / 1.103 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004079/1.071, allocations: 0.5592 MB / 1.103 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/1.071, allocations: 16 kB / 1.103 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007534/1.079, allocations: 1.172 MB / 1.104 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/1.081, allocations: 475.2 kB / 1.105 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005446/1.087, allocations: 3.034 MB / 1.108 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/1.09, allocations: 228.1 kB / 1.108 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/1.091, allocations: 104 kB / 1.108 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.091, allocations: 8 kB / 1.108 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00946/1.1, allocations: 3.234 MB / 1.111 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.901e-05/1.1, allocations: 27.94 kB / 1.111 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007566/1.108, allocations: 1.188 MB / 1.112 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/1.11, allocations: 463.3 kB / 1.113 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/1.115, allocations: 3.046 MB / 1.116 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/1.119, allocations: 228.1 kB / 1.116 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.119, allocations: 99.97 kB / 1.116 GB, free: 9.758 MB / 0.8262 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 (242): * Single equations (assignments): 237 * Array equations: 2 * 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 {(3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.002049/1.121, allocations: 1.086 MB / 1.117 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007387/1.122, allocations: 304.2 kB / 1.117 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/1.126, allocations: 2.273 MB / 1.12 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.126, allocations: 16 kB / 1.12 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.126, allocations: 0 / 1.12 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0032/1.129, allocations: 1.963 MB / 1.122 GB, free: 3.988 MB / 0.8262 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 postOpt removeSimpleEquations (simulation): time 0.009071/1.139, allocations: 4.983 MB / 1.126 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.139, allocations: 4 kB / 1.126 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/1.14, allocations: 291.6 kB / 1.127 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008055/1.141, allocations: 277 kB / 1.127 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.141, allocations: 43.97 kB / 1.127 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006763/1.148, allocations: 8.66 MB / 1.135 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.148, allocations: 4.031 kB / 1.135 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/1.154, allocations: 3.163 MB / 1.139 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.156, allocations: 0.5946 MB / 1.139 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.156, allocations: 47.92 kB / 1.139 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/1.158, allocations: 155 kB / 1.139 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/1.158, allocations: 97.17 kB / 1.139 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.158, allocations: 75.94 kB / 1.139 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003017/1.161, allocations: 1.955 MB / 1.141 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/1.161, allocations: 0 / 1.141 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004648/1.166, allocations: 1.551 MB / 1.143 GB, free: 13.13 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002054/1.168, allocations: 0.8652 MB / 1.144 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.178, allocations: 4.282 MB / 1.148 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.178, allocations: 4.562 kB / 1.148 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002568/1.181, allocations: 1.574 MB / 1.149 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008891/1.19, allocations: 1.706 MB / 1.151 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.201, allocations: 7.942 MB / 1.159 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/1.203, allocations: 2.373 MB / 1.161 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004063/1.207, allocations: 1.114 MB / 1.162 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006604/1.208, allocations: 243.3 kB / 1.163 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of SimCode: time 4.6e-07/1.208, allocations: 0 / 1.163 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of Templates: time 0.114/1.322, allocations: 72.22 MB / 1.233 GB, free: 1.488 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) Environment - environmentSimulation: