Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5.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.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5") translateModel(Buildings.Examples.Tutorial.CDL.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001234/0.001234, allocations: 188.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.82/1.82, allocations: 205.4 MB / 0.6316 GB, free: 9.918 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.0007839/0.0007838, allocations: 100.2 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005023, allocations: 12.38 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2594, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System5): time 1.753/2.013, allocations: 482.7 MB / 1.452 GB, free: 48.62 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.09318/2.106, allocations: 69.18 MB / 1.52 GB, free: 47.42 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01683/2.123, allocations: 362.1 kB / 1.52 GB, free: 47.42 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01637/2.139, allocations: 3.653 MB / 1.524 GB, free: 47.36 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.03702/2.176, allocations: 11.27 MB / 1.535 GB, free: 46.81 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02695/2.203, allocations: 8.94 MB / 1.543 GB, free: 46.39 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.04005/2.243, allocations: 35.54 MB / 1.578 GB, free: 39.51 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02105/2.265, allocations: 9.834 MB / 1.588 GB, free: 35.92 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02543/2.29, allocations: 9.55 MB / 1.597 GB, free: 32.32 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01688/2.307, allocations: 8.147 MB / 1.605 GB, free: 29.11 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004755/2.312, allocations: 428.7 kB / 1.605 GB, free: 29.11 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/2.33, allocations: 5.324 MB / 1.61 GB, free: 27.36 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.005465/2.336, allocations: 2.38 MB / 1.613 GB, free: 25.58 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01324/2.349, allocations: 5.617 MB / 1.618 GB, free: 21.41 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02119/2.37, allocations: 15.16 MB / 1.633 GB, free: 8.609 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/2.37, allocations: 0 / 1.633 GB, free: 8.609 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/2.37, allocations: 0 / 1.633 GB, free: 8.609 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008277/2.371, allocations: 0 / 1.633 GB, free: 8.609 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: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 0.02363/2.395, allocations: 11.11 MB / 1.644 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/2.395, allocations: 8.031 kB / 1.644 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/2.406, allocations: 2.082 MB / 1.646 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02599/2.432, allocations: 10.34 MB / 1.656 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006069/2.432, allocations: 0.5788 MB / 1.657 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002262/2.434, allocations: 0.7729 MB / 1.657 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/2.454, allocations: 8.688 MB / 1.666 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/2.454, allocations: 23.03 kB / 1.666 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008634/2.455, allocations: 318.7 kB / 1.666 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002722/2.455, allocations: 288.5 kB / 1.666 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/2.471, allocations: 7.081 MB / 1.673 GB, free: 8.797 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.06897/2.54, allocations: 41.42 MB / 1.714 GB, free: 5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008003/2.548, allocations: 4.74 MB / 1.718 GB, free: 1.805 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004378/2.552, allocations: 2.433 MB / 1.721 GB, free: 256 kB / 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.02575/2.578, allocations: 10.46 MB / 1.731 GB, free: 6.988 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004531/2.583, allocations: 2.566 MB / 1.734 GB, free: 4.387 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004269/2.587, allocations: 479.6 kB / 1.734 GB, free: 3.918 MB / 1.026 GB Notification: Performance of pre-optimization done (n=412): time 1.738e-05/2.587, allocations: 0 / 1.734 GB, free: 3.918 MB / 1.026 GB Notification: Performance of matching and sorting (n=421): time 0.04261/2.63, allocations: 15 MB / 1.749 GB, free: 4.664 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003253/2.63, allocations: 0.5811 MB / 1.749 GB, free: 3.953 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01443/2.644, allocations: 8.172 MB / 1.757 GB, free: 11.8 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/2.646, allocations: 141.7 kB / 1.757 GB, free: 11.66 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.005453/2.651, allocations: 5.054 MB / 1.762 GB, free: 6.594 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002222/2.653, allocations: 1.456 MB / 1.764 GB, free: 5.148 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/2.654, allocations: 118.9 kB / 1.764 GB, free: 5.035 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003967/2.654, allocations: 0.5222 MB / 1.764 GB, free: 4.504 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004794/2.659, allocations: 2.193 MB / 1.766 GB, free: 2.305 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006398/2.665, allocations: 4.005 MB / 1.77 GB, free: 13.54 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/2.676, allocations: 5.794 MB / 1.776 GB, free: 7.129 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.78e-05/2.676, allocations: 12 kB / 1.776 GB, free: 7.117 MB / 1.073 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02562/2.702, allocations: 8.299 MB / 1.784 GB, free: 14.71 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008605/2.703, allocations: 1.303 MB / 1.785 GB, free: 12.85 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.258e-05/2.703, allocations: 47.98 kB / 1.785 GB, free: 12.8 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009172/2.712, allocations: 1.852 MB / 1.787 GB, free: 10.95 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005756/2.718, allocations: 1.24 MB / 1.789 GB, free: 9.703 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/2.728, allocations: 7.934 MB / 1.796 GB, free: 1.297 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009765/2.738, allocations: 0.7924 MB / 1.797 GB, free: 0.5117 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/2.74, allocations: 279.9 kB / 1.797 GB, free: 244 kB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/2.74, allocations: 8.625 kB / 1.797 GB, free: 236 kB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01555/2.755, allocations: 6.82 MB / 1.804 GB, free: 9.316 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.784e-05/2.755, allocations: 40.19 kB / 1.804 GB, free: 9.277 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00854/2.764, allocations: 1.74 MB / 1.806 GB, free: 7.527 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/2.769, allocations: 1.182 MB / 1.807 GB, free: 6.344 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/2.785, allocations: 10.01 MB / 1.817 GB, free: 11.8 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/2.795, allocations: 0.7492 MB / 1.817 GB, free: 11.05 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/2.796, allocations: 263.9 kB / 1.818 GB, free: 10.79 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,conBoiRet.conPID.con1.y,$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,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y,$PRE.conEquSta.hys.y,conEquSta.hys.y,radPumCon.u,boiSigCon.u,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 (673): * Single equations (assignments): 657 * 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 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006155/2.802, allocations: 2.298 MB / 1.82 GB, free: 8.477 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00261/2.805, allocations: 0.9144 MB / 1.821 GB, free: 7.551 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/2.818, allocations: 6.196 MB / 1.827 GB, free: 1.312 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009073/2.827, allocations: 4.608 MB / 1.831 GB, free: 12.68 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/2.827, allocations: 0 / 1.831 GB, free: 12.68 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00574/2.833, allocations: 1.68 MB / 1.833 GB, free: 10.96 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002585/2.836, allocations: 103.9 kB / 1.833 GB, free: 10.86 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00901/2.845, allocations: 0.6531 MB / 1.834 GB, free: 10.21 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/2.846, allocations: 343.1 kB / 1.834 GB, free: 9.875 MB / 1.135 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01376/2.86, allocations: 5.847 MB / 1.84 GB, free: 4.074 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01384/2.874, allocations: 7.922 MB / 1.847 GB, free: 12.11 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003363/2.877, allocations: 2.16 MB / 1.85 GB, free: 9.941 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01004/2.887, allocations: 5.386 MB / 1.855 GB, free: 4.586 MB / 1.151 GB Notification: Performance of Backend: time 1.362e-06/2.887, allocations: 0 / 1.855 GB, free: 4.586 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.7994/3.687, allocations: 11.58 MB / 1.866 GB, free: 0.5096 GB / 1.151 GB Notification: Performance of SimCode: time 0.05434/3.741, allocations: 25.44 MB / 1.891 GB, free: 0.499 GB / 1.151 GB Notification: Performance of Templates: time 0.2822/4.023, allocations: 201.3 MB / 2.088 GB, free: 341 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System5.pipe 2>&1)