Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7") translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.292/2.292, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 174.7 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.339/2.339, allocations: 205.4 MB / 0.5772 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008913/0.0008908, allocations: 90.86 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 15.77 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.381/1.592, allocations: 483.8 MB / 1.372 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.9521/2.544, allocations: 69.62 MB / 1.44 GB, free: 21.75 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02135/2.565, allocations: 376.3 kB / 1.44 GB, free: 21.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01878/2.584, allocations: 3.622 MB / 1.444 GB, free: 21.69 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.04774/2.632, allocations: 10.6 MB / 1.454 GB, free: 21.21 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.04165/2.673, allocations: 8.826 MB / 1.463 GB, free: 20.88 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.06136/2.735, allocations: 36.08 MB / 1.498 GB, free: 20.81 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02787/2.763, allocations: 9.849 MB / 1.508 GB, free: 18.29 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02961/2.792, allocations: 9.462 MB / 1.517 GB, free: 16.67 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02178/2.814, allocations: 8.316 MB / 1.525 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.005323/2.82, allocations: 442.6 kB / 1.525 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02273/2.842, allocations: 3.972 MB / 1.529 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.007181/2.85, allocations: 2.453 MB / 1.532 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.008376/2.858, allocations: 2.489 MB / 1.534 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02964/2.888, allocations: 15.17 MB / 1.549 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/2.888, allocations: 0 / 1.549 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.686e-06/2.888, allocations: 0 / 1.549 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.00088/2.889, allocations: 4 kB / 1.549 GB, free: 2.492 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2018 * Number of variables: 2018 Notification: Performance of Generate backend data structure: time 0.04306/2.932, allocations: 11.63 MB / 1.56 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/2.932, allocations: 11.97 kB / 1.56 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/2.95, allocations: 2.146 MB / 1.562 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0375/2.987, allocations: 10.12 MB / 1.572 GB, free: 15.86 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009984/2.988, allocations: 0.6229 MB / 1.573 GB, free: 15.5 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003431/2.992, allocations: 0.8384 MB / 1.574 GB, free: 14.93 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/3.027, allocations: 9.211 MB / 1.583 GB, free: 8.316 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004337/3.027, allocations: 18.06 kB / 1.583 GB, free: 8.301 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002447/3.03, allocations: 341.1 kB / 1.583 GB, free: 8.219 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004597/3.03, allocations: 307.3 kB / 1.583 GB, free: 7.926 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0291/3.059, allocations: 7.499 MB / 1.591 GB, free: 2.82 MB / 0.9324 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.1113/3.171, allocations: 43.49 MB / 1.633 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/3.187, allocations: 5.273 MB / 1.638 GB, free: 9.699 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008977/3.196, allocations: 2.625 MB / 1.641 GB, free: 8.008 MB / 0.9792 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.04544/3.241, allocations: 10.79 MB / 1.651 GB, free: 15.97 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01031/3.251, allocations: 2.718 MB / 1.654 GB, free: 14.05 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007418/3.259, allocations: 495.5 kB / 1.655 GB, free: 13.64 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=465): time 2.469e-05/3.259, allocations: 0 / 1.655 GB, free: 13.64 MB / 0.9949 GB Notification: Performance of matching and sorting (n=474): time 0.07758/3.337, allocations: 15.79 MB / 1.67 GB, free: 1.367 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003876/3.337, allocations: 0.6424 MB / 1.671 GB, free: 0.5859 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02405/3.361, allocations: 8.378 MB / 1.679 GB, free: 10.54 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001598/3.363, allocations: 148.1 kB / 1.679 GB, free: 10.48 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.008446/3.371, allocations: 5.264 MB / 1.684 GB, free: 7.723 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003359/3.375, allocations: 1.595 MB / 1.686 GB, free: 6.363 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/3.376, allocations: 126.6 kB / 1.686 GB, free: 6.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0006209/3.376, allocations: 0.5437 MB / 1.686 GB, free: 5.887 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009862/3.386, allocations: 2.331 MB / 1.689 GB, free: 4.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01266/3.399, allocations: 4.273 MB / 1.693 GB, free: 220 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/3.411, allocations: 2.935 MB / 1.696 GB, free: 14.37 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.687e-05/3.411, allocations: 12 kB / 1.696 GB, free: 14.36 MB / 1.026 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.03914/3.45, allocations: 8.418 MB / 1.704 GB, free: 7.977 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001386/3.451, allocations: 1.4 MB / 1.705 GB, free: 6.121 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/3.452, allocations: 44 kB / 1.705 GB, free: 6.078 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01817/3.47, allocations: 1.859 MB / 1.707 GB, free: 4.383 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/3.481, allocations: 1.327 MB / 1.708 GB, free: 3.102 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/3.501, allocations: 8.03 MB / 1.716 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01619/3.517, allocations: 0.8214 MB / 1.717 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/3.519, allocations: 299.2 kB / 1.717 GB, free: 10.54 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/3.519, allocations: 4 kB / 1.717 GB, free: 10.54 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.031/3.55, allocations: 7.221 MB / 1.724 GB, free: 5.426 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001871/3.551, allocations: 44 kB / 1.724 GB, free: 5.383 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01621/3.567, allocations: 1.728 MB / 1.726 GB, free: 3.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/3.577, allocations: 1.262 MB / 1.727 GB, free: 2.602 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0269/3.604, allocations: 9.95 MB / 1.737 GB, free: 8.113 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01594/3.62, allocations: 0.7621 MB / 1.738 GB, free: 7.348 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/3.622, allocations: 286.3 kB / 1.738 GB, free: 7.07 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 192 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,stateGraphRoot.activeSteps,alternative.split[2].available,$PRE.allOff.localActive,allOff.localActive,$PRE.allOff.newActive,allOff.newActive,$PRE.allOff.oldActive,allOff.oldActive,allOff.active,T1.condition,T1.enableFire,$PRE.boilerOn.localActive,boilerOn.localActive,$PRE.boilerOn.newActive,boilerOn.newActive,$PRE.boilerOn.oldActive,boilerOn.oldActive,boilerOn.active,T2.condition,T2.enableFire,T3.condition,T3.enableFire,T3.fire,$PRE.T3.t_start,T3.t_start,T4.condition,T4.enableFire,T4.fire,$PRE.T4.t_start,T4.t_start,pumpsOn.active,$PRE.pumpsOn.localActive,pumpsOn.localActive,pumpsOn.inPort[1].set,pumpsOn.outPort[1].reset,$PRE.pumpsOn.newActive,pumpsOn.newActive,$PRE.pumpsOn.oldActive,pumpsOn.oldActive,lessThreshold.y,lessThreshold1.y,greThrTRoo.y,greThrTROut.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,conPIDRad.I.trigger_internal,conPIDBoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {5 6,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009048/3.631, allocations: 2.395 MB / 1.74 GB, free: 4.664 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004067/3.635, allocations: 0.9413 MB / 1.741 GB, free: 3.711 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02776/3.663, allocations: 6.645 MB / 1.748 GB, free: 12.94 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02055/3.683, allocations: 4.926 MB / 1.753 GB, free: 7.902 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/3.684, allocations: 11.06 kB / 1.753 GB, free: 7.895 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007879/3.691, allocations: 1.707 MB / 1.754 GB, free: 6.156 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003713/3.695, allocations: 108 kB / 1.754 GB, free: 6.051 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01351/3.709, allocations: 0.6795 MB / 1.755 GB, free: 5.375 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001664/3.711, allocations: 383.5 kB / 1.755 GB, free: 4.996 MB / 1.073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02896/3.739, allocations: 6.236 MB / 1.762 GB, free: 14.73 MB / 1.089 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03028/3.77, allocations: 8.502 MB / 1.77 GB, free: 6.082 MB / 1.089 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007681/3.778, allocations: 2.347 MB / 1.772 GB, free: 3.703 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01648/3.794, allocations: 5.486 MB / 1.777 GB, free: 14.25 MB / 1.104 GB Notification: Performance of Backend: time 7.31e-07/3.794, allocations: 0 / 1.777 GB, free: 14.25 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.05577/3.85, allocations: 11.95 MB / 1.789 GB, free: 2.738 MB / 1.104 GB Notification: Performance of SimCode: time 1.328/5.178, allocations: 26.37 MB / 1.815 GB, free: 0.5093 GB / 1.12 GB Notification: Performance of Templates: time 0.4936/5.672, allocations: 202.9 MB / 2.013 GB, free: 361.7 MB / 1.12 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1)