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.001296/0.001296, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001183/0.001182, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.369/1.369, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001613/0.001614, allocations: 67.03 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2276, allocations: 114.5 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.5601/0.7878, allocations: 209.1 MB / 0.989 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02729/0.8151, allocations: 19.68 MB / 1.008 GB, free: 5.098 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/0.8184, allocations: 91.44 kB / 1.008 GB, free: 5.008 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003907/0.8223, allocations: 1.313 MB / 1.01 GB, free: 3.688 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.009463/0.8318, allocations: 3.378 MB / 1.013 GB, free: 308 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00941/0.8413, allocations: 3.807 MB / 1.017 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01211/0.8534, allocations: 10.71 MB / 1.027 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004947/0.8584, allocations: 3.974 MB / 1.031 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007258/0.8656, allocations: 3.685 MB / 1.035 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005775/0.8714, allocations: 3.001 MB / 1.037 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.8725, allocations: 408 kB / 1.038 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005613/0.8782, allocations: 2.597 MB / 1.04 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.8797, allocations: 1.199 MB / 1.042 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003304/0.883, allocations: 2.201 MB / 1.044 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009125/0.8922, allocations: 6.929 MB / 1.05 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8922, allocations: 8 kB / 1.051 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8922, allocations: 0 / 1.051 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001036/0.8923, allocations: 0 / 1.051 GB, free: 9.734 MB / 0.8419 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.009401/0.9017, allocations: 4.559 MB / 1.055 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9018, allocations: 8.031 kB / 1.055 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005446/0.9072, allocations: 0.9282 MB / 1.056 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007699/0.915, allocations: 3.677 MB / 1.059 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.9151, allocations: 184.5 kB / 1.06 GB, free: 240 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004742/0.9156, allocations: 247.9 kB / 1.06 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005372/0.921, allocations: 3.189 MB / 1.063 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-05/0.9211, allocations: 7.938 kB / 1.063 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.9213, allocations: 96 kB / 1.063 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/0.9214, allocations: 104.3 kB / 1.063 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/0.9263, allocations: 2.609 MB / 1.066 GB, free: 9.816 MB / 0.8575 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.02338/0.9497, allocations: 13.25 MB / 1.079 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.9526, allocations: 2.106 MB / 1.081 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.954, allocations: 0.93 MB / 1.082 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.9647, allocations: 4.529 MB / 1.086 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.9662, allocations: 0.9188 MB / 1.087 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=129): time 3.406e-06/0.9663, allocations: 4 kB / 1.087 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133): time 0.01077/0.977, allocations: 5.441 MB / 1.092 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.9771, allocations: 124.1 kB / 1.092 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/0.9812, allocations: 3.026 MB / 1.095 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003101/0.9816, allocations: 61.7 kB / 1.095 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.9829, allocations: 1.521 MB / 1.097 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005515/0.9835, allocations: 477.2 kB / 1.097 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006803/0.9842, allocations: 443.1 kB / 1.098 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.9843, allocations: 309.1 kB / 1.098 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.9865, allocations: 1.031 MB / 1.099 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.989, allocations: 1.593 MB / 1.101 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/0.9929, allocations: 2.471 MB / 1.103 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.9929, allocations: 4 kB / 1.103 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01111/1.004, allocations: 3.724 MB / 1.107 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.004, allocations: 16.03 kB / 1.107 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.004, allocations: 19.98 kB / 1.107 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006909/1.011, allocations: 1.075 MB / 1.108 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/1.013, allocations: 479.2 kB / 1.108 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/1.019, allocations: 3.272 MB / 1.111 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/1.022, allocations: 153.2 kB / 1.112 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/1.022, allocations: 104 kB / 1.112 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00344/1.026, allocations: 1.858 MB / 1.113 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002393/1.028, allocations: 1.538 MB / 1.115 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003492/1.031, allocations: 2.353 MB / 1.117 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.27e-05/1.032, allocations: 7.938 kB / 1.117 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=259) (initialization_lambda0): time 0.01047/1.042, allocations: 3.611 MB / 1.121 GB, free: 15.04 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.042, allocations: 12.78 kB / 1.121 GB, free: 15.03 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/1.042, allocations: 19.98 kB / 1.121 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006962/1.049, allocations: 1.076 MB / 1.122 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.051, allocations: 463.2 kB / 1.122 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005898/1.057, allocations: 3.262 MB / 1.126 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.06, allocations: 158.8 kB / 1.126 GB, free: 9.898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004179/1.061, allocations: 95.97 kB / 1.126 GB, free: 9.805 MB / 0.92 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 (241): * Single equations (assignments): 236 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006936/1.061, allocations: 315.6 kB / 1.126 GB, free: 9.488 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009262/1.062, allocations: 308.2 kB / 1.126 GB, free: 9.184 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/1.067, allocations: 2.263 MB / 1.129 GB, free: 6.891 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003092/1.07, allocations: 1.955 MB / 1.13 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.07, allocations: 0.5 kB / 1.13 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.071, allocations: 0.5948 MB / 1.131 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004184/1.072, allocations: 32 kB / 1.131 GB, free: 4.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/1.073, allocations: 98.64 kB / 1.131 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/1.074, allocations: 105.1 kB / 1.131 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004879/1.078, allocations: 2.313 MB / 1.134 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.4143/1.493, allocations: 3.051 MB / 1.137 GB, free: 298.7 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001092/1.494, allocations: 0.843 MB / 1.137 GB, free: 298.7 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002793/1.497, allocations: 2.054 MB / 1.139 GB, free: 298.6 MB / 0.92 GB Notification: Performance of Backend: time 6.81e-07/1.497, allocations: 0 / 1.139 GB, free: 298.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01381/1.511, allocations: 4.68 MB / 1.144 GB, free: 298.2 MB / 0.92 GB Notification: Performance of SimCode: time 0.01696/1.528, allocations: 8.009 MB / 1.152 GB, free: 294.9 MB / 0.92 GB Notification: Performance of Templates: time 0.1239/1.651, allocations: 81.82 MB / 1.232 GB, free: 250.8 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.makefile (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)