Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6.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.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6") translateModel(Buildings.Examples.Tutorial.Boiler.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.234/2.234, 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.001335/0.001335, allocations: 174.9 kB / 326.2 MB, free: 2.84 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.632/2.632, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009003/0.0009002, allocations: 97.61 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004785, allocations: 9.125 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System6): time 1.408/1.616, allocations: 483.3 MB / 1.371 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.9619/2.578, allocations: 69.26 MB / 1.439 GB, free: 21.26 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01847/2.596, allocations: 369.1 kB / 1.439 GB, free: 21.26 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01823/2.615, allocations: 3.593 MB / 1.443 GB, free: 21.2 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.04956/2.664, allocations: 10.58 MB / 1.453 GB, free: 20.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.04057/2.705, allocations: 8.689 MB / 1.462 GB, free: 20.4 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.06256/2.768, allocations: 35.7 MB / 1.497 GB, free: 20.32 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02935/2.797, allocations: 9.587 MB / 1.506 GB, free: 18.16 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03026/2.827, allocations: 9.362 MB / 1.515 GB, free: 16.6 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02206/2.849, allocations: 8.192 MB / 1.523 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.005084/2.855, allocations: 430.2 kB / 1.524 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02289/2.877, allocations: 3.943 MB / 1.527 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.007555/2.885, allocations: 2.395 MB / 1.53 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.008904/2.894, allocations: 2.451 MB / 1.532 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02959/2.924, allocations: 14.9 MB / 1.547 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/2.924, allocations: 1.859 kB / 1.547 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.635e-06/2.924, allocations: 0 / 1.547 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007647/2.925, allocations: 0 / 1.547 GB, free: 2.684 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.04078/2.965, allocations: 11.36 MB / 1.558 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/2.965, allocations: 8.031 kB / 1.558 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/2.983, allocations: 2.101 MB / 1.56 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03803/3.022, allocations: 10.02 MB / 1.57 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000974/3.023, allocations: 0.5878 MB / 1.57 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003389/3.026, allocations: 0.7979 MB / 1.571 GB, free: 432 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0335/3.06, allocations: 8.802 MB / 1.58 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000503/3.06, allocations: 22.84 kB / 1.58 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00258/3.063, allocations: 319.2 kB / 1.58 GB, free: 10 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004633/3.063, allocations: 296.7 kB / 1.58 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/3.093, allocations: 7.214 MB / 1.587 GB, free: 4.805 MB / 0.9323 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.1071/3.2, allocations: 42.09 MB / 1.628 GB, free: 380 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/3.214, allocations: 4.907 MB / 1.633 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008114/3.223, allocations: 2.515 MB / 1.636 GB, free: 11.46 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.04242/3.265, allocations: 10.5 MB / 1.646 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008674/3.274, allocations: 2.571 MB / 1.648 GB, free: 1.77 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006569/3.28, allocations: 481.5 kB / 1.649 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=428): time 2.258e-05/3.28, allocations: 3.938 kB / 1.649 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of matching and sorting (n=437): time 0.07175/3.352, allocations: 15.24 MB / 1.664 GB, free: 5.473 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004127/3.353, allocations: 0.6343 MB / 1.664 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02411/3.377, allocations: 8.287 MB / 1.672 GB, free: 14.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001567/3.378, allocations: 137.3 kB / 1.673 GB, free: 14.65 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.008058/3.387, allocations: 5.171 MB / 1.678 GB, free: 11.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003196/3.39, allocations: 1.508 MB / 1.679 GB, free: 10.69 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007761/3.391, allocations: 117.9 kB / 1.679 GB, free: 10.67 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0006217/3.391, allocations: 0.5254 MB / 1.68 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009281/3.401, allocations: 2.238 MB / 1.682 GB, free: 8.742 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/3.412, allocations: 4.102 MB / 1.686 GB, free: 4.785 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/3.423, allocations: 2.829 MB / 1.689 GB, free: 3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.413e-05/3.424, allocations: 16 kB / 1.689 GB, free: 2.984 MB / 1.01 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.0394/3.463, allocations: 8.273 MB / 1.697 GB, free: 12.67 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001347/3.464, allocations: 1.31 MB / 1.698 GB, free: 10.93 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/3.465, allocations: 44 kB / 1.698 GB, free: 10.89 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01801/3.483, allocations: 1.846 MB / 1.7 GB, free: 9.203 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/3.494, allocations: 1.272 MB / 1.701 GB, free: 7.973 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/3.515, allocations: 8.097 MB / 1.709 GB, free: 316 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01671/3.532, allocations: 0.8081 MB / 1.71 GB, free: 15.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002065/3.534, allocations: 290 kB / 1.71 GB, free: 15.36 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/3.534, allocations: 5.531 kB / 1.71 GB, free: 15.36 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03504/3.569, allocations: 7.265 MB / 1.717 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001671/3.569, allocations: 44 kB / 1.717 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/3.585, allocations: 1.719 MB / 1.719 GB, free: 8.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/3.595, allocations: 1.215 MB / 1.72 GB, free: 7.348 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/3.619, allocations: 9.78 MB / 1.73 GB, free: 14.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01475/3.634, allocations: 0.7554 MB / 1.73 GB, free: 14 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/3.636, allocations: 268.5 kB / 1.731 GB, free: 13.79 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysTOut.y,hysTOut.y,$PRE.hysTBoi.y,hysTBoi.y,and1.y,and2.y,$PRE.hysPum.y,hysPum.y,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (693): * Single equations (assignments): 677 * 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.008986/3.645, allocations: 2.31 MB / 1.733 GB, free: 11.97 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003608/3.648, allocations: 0.9336 MB / 1.734 GB, free: 11.02 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02348/3.672, allocations: 6.359 MB / 1.74 GB, free: 4.629 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01747/3.689, allocations: 4.705 MB / 1.745 GB, free: 15.89 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/3.689, allocations: 4 kB / 1.745 GB, free: 15.89 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007609/3.697, allocations: 1.679 MB / 1.746 GB, free: 14.18 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003232/3.7, allocations: 104 kB / 1.746 GB, free: 14.08 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01296/3.713, allocations: 0.6511 MB / 1.747 GB, free: 13.43 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001458/3.715, allocations: 363.2 kB / 1.747 GB, free: 13.07 MB / 1.073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02564/3.74, allocations: 5.954 MB / 1.753 GB, free: 7.168 MB / 1.073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03028/3.771, allocations: 8.121 MB / 1.761 GB, free: 15.01 MB / 1.089 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007368/3.778, allocations: 2.216 MB / 1.763 GB, free: 12.79 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01683/3.795, allocations: 5.453 MB / 1.769 GB, free: 7.371 MB / 1.089 GB Notification: Performance of Backend: time 9.52e-07/3.795, allocations: 0 / 1.769 GB, free: 7.371 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05517/3.85, allocations: 11.59 MB / 1.78 GB, free: 12.21 MB / 1.104 GB Notification: Performance of SimCode: time 0.08476/3.935, allocations: 25.89 MB / 1.805 GB, free: 2.379 MB / 1.12 GB Notification: Performance of Templates: time 1.776/5.711, allocations: 199.7 MB / 2 GB, free: 372.7 MB / 1.12 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1)