Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1") translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.778/1.778, allocations: 288.4 MB / 304.3 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009955/0.0009951, allocations: 173.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.6316 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008253/0.0008255, allocations: 96.19 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004319, allocations: 12.44 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2584, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System1): time 1.902/2.161, allocations: 481.8 MB / 1.451 GB, free: 49.16 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.1233/2.284, allocations: 68.89 MB / 1.519 GB, free: 47.94 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02218/2.306, allocations: 357.7 kB / 1.519 GB, free: 47.94 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01836/2.325, allocations: 3.621 MB / 1.522 GB, free: 47.87 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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.04997/2.375, allocations: 11.24 MB / 1.533 GB, free: 47.33 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0359/2.41, allocations: 8.876 MB / 1.542 GB, free: 46.9 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0559/2.466, allocations: 35.19 MB / 1.576 GB, free: 40.21 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02621/2.493, allocations: 9.56 MB / 1.586 GB, free: 36.7 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02935/2.522, allocations: 9.472 MB / 1.595 GB, free: 33.14 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02084/2.543, allocations: 8.051 MB / 1.603 GB, free: 29.98 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006078/2.549, allocations: 415.3 kB / 1.603 GB, free: 29.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02695/2.576, allocations: 5.311 MB / 1.608 GB, free: 28.5 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.008802/2.585, allocations: 2.339 MB / 1.611 GB, free: 26.75 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02019/2.605, allocations: 5.503 MB / 1.616 GB, free: 22.66 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02945/2.635, allocations: 14.74 MB / 1.63 GB, free: 10.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/2.635, allocations: 0 / 1.63 GB, free: 10.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.826e-06/2.635, allocations: 2.734 kB / 1.63 GB, free: 10.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008769/2.636, allocations: 4 kB / 1.63 GB, free: 10.23 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1794 * Number of variables: 1794 Notification: Performance of Generate backend data structure: time 0.03094/2.667, allocations: 10.76 MB / 1.641 GB, free: 404 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/2.667, allocations: 8.031 kB / 1.641 GB, free: 396 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/2.679, allocations: 2.039 MB / 1.643 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03106/2.71, allocations: 10.19 MB / 1.653 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009184/2.711, allocations: 0.5517 MB / 1.653 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004169/2.715, allocations: 0.7448 MB / 1.654 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/2.748, allocations: 8.406 MB / 1.662 GB, free: 300 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005357/2.748, allocations: 19.22 kB / 1.662 GB, free: 284 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002801/2.751, allocations: 301.8 kB / 1.663 GB, free: 208 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004542/2.752, allocations: 275.5 kB / 1.663 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/2.773, allocations: 6.864 MB / 1.67 GB, free: 11.27 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 removeSimpleEquations (simulation): time 0.08364/2.857, allocations: 40.46 MB / 1.709 GB, free: 8.148 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008953/2.866, allocations: 4.642 MB / 1.714 GB, free: 5.016 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004558/2.87, allocations: 2.323 MB / 1.716 GB, free: 3.527 MB / 1.01 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.02885/2.899, allocations: 10.2 MB / 1.726 GB, free: 11.84 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004967/2.904, allocations: 2.448 MB / 1.728 GB, free: 9.391 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005782/2.91, allocations: 455.8 kB / 1.729 GB, free: 8.945 MB / 1.026 GB Notification: Performance of pre-optimization done (n=390): time 2.872e-05/2.91, allocations: 0 / 1.729 GB, free: 8.945 MB / 1.026 GB Notification: Performance of matching and sorting (n=399): time 0.04511/2.955, allocations: 14.55 MB / 1.743 GB, free: 10.12 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000337/2.955, allocations: 0.548 MB / 1.744 GB, free: 9.449 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01692/2.972, allocations: 8.037 MB / 1.751 GB, free: 1.43 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001632/2.974, allocations: 133.2 kB / 1.751 GB, free: 1.297 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.006699/2.981, allocations: 4.917 MB / 1.756 GB, free: 12.39 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002888/2.984, allocations: 1.382 MB / 1.758 GB, free: 11.02 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/2.984, allocations: 119 kB / 1.758 GB, free: 10.91 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000463/2.985, allocations: 0.51 MB / 1.758 GB, free: 10.39 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00483/2.99, allocations: 2.119 MB / 1.76 GB, free: 8.27 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006514/2.996, allocations: 3.876 MB / 1.764 GB, free: 3.645 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/3.007, allocations: 5.624 MB / 1.77 GB, free: 13.41 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-05/3.007, allocations: 11.94 kB / 1.77 GB, free: 13.4 MB / 1.073 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.02662/3.034, allocations: 7.928 MB / 1.777 GB, free: 5.367 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001399/3.035, allocations: 1.277 MB / 1.779 GB, free: 3.535 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/3.035, allocations: 47.98 kB / 1.779 GB, free: 3.488 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009565/3.045, allocations: 1.855 MB / 1.78 GB, free: 1.629 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006248/3.051, allocations: 1.197 MB / 1.782 GB, free: 440 kB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/3.062, allocations: 7.828 MB / 1.789 GB, free: 8.133 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/3.074, allocations: 0.7439 MB / 1.79 GB, free: 7.395 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/3.075, allocations: 271.8 kB / 1.79 GB, free: 7.129 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/3.076, allocations: 4 kB / 1.79 GB, free: 7.125 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01964/3.095, allocations: 6.828 MB / 1.797 GB, free: 204 kB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/3.095, allocations: 44.17 kB / 1.797 GB, free: 160 kB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008544/3.104, allocations: 1.726 MB / 1.799 GB, free: 14.42 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005611/3.11, allocations: 1.158 MB / 1.8 GB, free: 13.26 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/3.124, allocations: 9.806 MB / 1.809 GB, free: 2.902 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/3.136, allocations: 0.7073 MB / 1.81 GB, free: 2.191 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/3.138, allocations: 259.3 kB / 1.81 GB, free: 1.941 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,$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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (646): * Single equations (assignments): 630 * 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 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008514/3.146, allocations: 2.252 MB / 1.813 GB, free: 15.68 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003353/3.15, allocations: 0.8977 MB / 1.813 GB, free: 14.78 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/3.164, allocations: 6.005 MB / 1.819 GB, free: 8.723 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008983/3.173, allocations: 4.438 MB / 1.824 GB, free: 4.246 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/3.173, allocations: 8 kB / 1.824 GB, free: 4.238 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008469/3.182, allocations: 1.637 MB / 1.825 GB, free: 2.57 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004266/3.186, allocations: 95.98 kB / 1.825 GB, free: 2.477 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009748/3.196, allocations: 0.6141 MB / 1.826 GB, free: 1.863 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/3.197, allocations: 311 kB / 1.826 GB, free: 1.559 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01605/3.213, allocations: 5.618 MB / 1.832 GB, free: 11.98 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01521/3.228, allocations: 7.63 MB / 1.839 GB, free: 4.293 MB / 1.135 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00369/3.232, allocations: 2.05 MB / 1.841 GB, free: 2.238 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01463/3.247, allocations: 5.312 MB / 1.846 GB, free: 12.95 MB / 1.151 GB Notification: Performance of Backend: time 1.723e-06/3.247, allocations: 0 / 1.846 GB, free: 12.95 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.04658/3.294, allocations: 11.16 MB / 1.857 GB, free: 2.133 MB / 1.151 GB Notification: Performance of SimCode: time 1.086/4.379, allocations: 24.88 MB / 1.882 GB, free: 0.5 GB / 1.151 GB Notification: Performance of Templates: time 0.3058/4.685, allocations: 199.1 MB / 2.076 GB, free: 351.1 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1)