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.001287/0.001287, allocations: 102.6 kB / 15.06 MB, free: 1.098 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.001707/0.001707, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.851/1.851, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0005553/0.0005554, allocations: 13.44 kB / 0.6735 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2878, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.7815/1.069, allocations: 175.5 MB / 0.9585 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03095/1.1, allocations: 17.69 MB / 0.9758 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004378/1.105, allocations: 64.41 kB / 0.9759 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005251/1.11, allocations: 1.131 MB / 0.977 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01387/1.124, allocations: 3.021 MB / 0.9799 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01336/1.137, allocations: 3.259 MB / 0.9831 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01239/1.15, allocations: 5.776 MB / 0.9887 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00583/1.156, allocations: 2.865 MB / 0.9915 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007816/1.164, allocations: 2.438 MB / 0.9939 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00587/1.169, allocations: 1.94 MB / 0.9958 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001401/1.171, allocations: 145.7 kB / 0.996 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008161/1.179, allocations: 1.568 MB / 0.9975 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002585/1.182, allocations: 0.84 MB / 0.9983 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002878/1.185, allocations: 0.7719 MB / 0.9991 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01175/1.196, allocations: 5.157 MB / 1.004 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.196, allocations: 0 / 1.004 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.219e-05/1.196, allocations: 3.984 kB / 1.004 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004072/1.197, allocations: 0 / 1.004 GB, free: 10.69 MB / 0.7325 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.01334/1.21, allocations: 3.827 MB / 1.008 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.21, allocations: 10.42 kB / 1.008 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007041/1.217, allocations: 0.9645 MB / 1.009 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.228, allocations: 3.495 MB / 1.012 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/1.228, allocations: 187.3 kB / 1.012 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000637/1.229, allocations: 245.5 kB / 1.013 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/1.235, allocations: 3.171 MB / 1.016 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.762e-05/1.235, allocations: 14.03 kB / 1.016 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/1.235, allocations: 93.69 kB / 1.016 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/1.235, allocations: 103.7 kB / 1.016 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004767/1.24, allocations: 2.628 MB / 1.018 GB, free: 4.988 MB / 0.7325 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.02542/1.265, allocations: 13.5 MB / 1.032 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/1.269, allocations: 2.183 MB / 1.034 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/1.281, allocations: 4.713 MB / 1.038 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/1.283, allocations: 0.9287 MB / 1.039 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001943/1.285, allocations: 192.1 kB / 1.039 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=130): time 6.412e-06/1.285, allocations: 0 / 1.039 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of matching and sorting (n=134): time 0.01381/1.299, allocations: 5.528 MB / 1.045 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/1.299, allocations: 153.8 kB / 1.045 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/1.305, allocations: 3.167 MB / 1.048 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006938/1.305, allocations: 65.7 kB / 1.048 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00175/1.307, allocations: 1.517 MB / 1.05 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007873/1.308, allocations: 480.8 kB / 1.05 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.308, allocations: 40 kB / 1.05 GB, free: 7.379 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.308, allocations: 393.9 kB / 1.051 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/1.31, allocations: 0.9799 MB / 1.051 GB, free: 6.004 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/1.313, allocations: 1.572 MB / 1.053 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/1.316, allocations: 1.218 MB / 1.054 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.316, allocations: 4 kB / 1.054 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.009324/1.325, allocations: 3.384 MB / 1.058 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.002658/1.328, allocations: 6.594 MB / 1.064 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.836e-05/1.328, allocations: 16 kB / 1.064 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006863/1.335, allocations: 1.185 MB / 1.065 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/1.338, allocations: 0.4914 MB / 1.066 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/1.344, allocations: 3.171 MB / 1.069 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/1.348, allocations: 268.1 kB / 1.069 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005143/1.349, allocations: 104 kB / 1.069 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.349, allocations: 6.969 kB / 1.069 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007655/1.356, allocations: 3.036 MB / 1.072 GB, free: 100 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.394e-05/1.356, allocations: 16 kB / 1.072 GB, free: 84 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00673/1.363, allocations: 1.217 MB / 1.073 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.366, allocations: 481 kB / 1.074 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/1.371, allocations: 3.176 MB / 1.077 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004599/1.376, allocations: 252.2 kB / 1.077 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/1.376, allocations: 95.97 kB / 1.077 GB, free: 10.73 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.002919/1.379, allocations: 1.082 MB / 1.078 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.381, allocations: 312.3 kB / 1.078 GB, free: 9.324 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/1.385, allocations: 2.324 MB / 1.081 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/1.386, allocations: 20 kB / 1.081 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.386, allocations: 4.125 kB / 1.081 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00324/1.389, allocations: 2.013 MB / 1.083 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.399, allocations: 5.222 MB / 1.088 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.399, allocations: 5.906 kB / 1.088 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.401, allocations: 287.6 kB / 1.088 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/1.402, allocations: 340.7 kB / 1.088 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/1.402, allocations: 47.97 kB / 1.088 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007207/1.409, allocations: 9.153 MB / 1.097 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.409, allocations: 0 / 1.097 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00639/1.416, allocations: 3.329 MB / 1.101 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/1.418, allocations: 0.6688 MB / 1.101 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000551/1.419, allocations: 36 kB / 1.101 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.421, allocations: 179.3 kB / 1.102 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/1.421, allocations: 113.1 kB / 1.102 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.421, allocations: 71.94 kB / 1.102 GB, free: 444 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004375/1.426, allocations: 2.169 MB / 1.104 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/1.426, allocations: 4 kB / 1.104 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007251/1.433, allocations: 1.66 MB / 1.105 GB, free: 12.61 MB / 0.8262 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 (135): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002465/1.435, allocations: 0.8695 MB / 1.106 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.447, allocations: 4.337 MB / 1.111 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/1.447, allocations: 6.438 kB / 1.111 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/1.45, allocations: 1.628 MB / 1.112 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009132/1.459, allocations: 1.67 MB / 1.114 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.473, allocations: 7.731 MB / 1.121 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.475, allocations: 2.443 MB / 1.124 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004644/1.48, allocations: 1.114 MB / 1.125 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008369/1.48, allocations: 259.3 kB / 1.125 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of SimCode: time 1.092e-06/1.48, allocations: 0.5469 kB / 1.125 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of Templates: time 0.1227/1.603, allocations: 72.53 MB / 1.196 GB, free: 0.7969 MB / 0.9044 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: