Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6.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.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.797/1.797, allocations: 288.4 MB / 304.3 MB, free: 8.184 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.001064/0.001065, allocations: 180.5 kB / 372.9 MB, free: 10.17 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.744/1.744, allocations: 205.4 MB / 0.6316 GB, free: 9.941 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.0008887/0.0008884, allocations: 94.27 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.000446, allocations: 11.41 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2728, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System6): time 1.672/1.945, allocations: 483.2 MB / 1.453 GB, free: 48.84 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.09526/2.041, allocations: 69.42 MB / 1.52 GB, free: 47.64 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01862/2.059, allocations: 364.7 kB / 1.521 GB, free: 47.64 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01368/2.073, allocations: 3.678 MB / 1.524 GB, free: 47.57 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.03528/2.108, allocations: 11.28 MB / 1.535 GB, free: 47.03 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02757/2.136, allocations: 8.996 MB / 1.544 GB, free: 46.6 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.04586/2.182, allocations: 35.82 MB / 1.579 GB, free: 39.49 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01963/2.201, allocations: 10.03 MB / 1.589 GB, free: 35.85 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02226/2.224, allocations: 9.617 MB / 1.598 GB, free: 32.22 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01536/2.239, allocations: 8.216 MB / 1.606 GB, free: 28.97 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004181/2.243, allocations: 430.1 kB / 1.607 GB, free: 28.97 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01956/2.263, allocations: 5.332 MB / 1.612 GB, free: 26.77 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.006389/2.269, allocations: 2.41 MB / 1.614 GB, free: 24.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0135/2.283, allocations: 5.713 MB / 1.62 GB, free: 20.73 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01966/2.303, allocations: 15.5 MB / 1.635 GB, free: 7.652 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/2.303, allocations: 0 / 1.635 GB, free: 7.652 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.883e-06/2.303, allocations: 0 / 1.635 GB, free: 7.652 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006412/2.303, allocations: 0 / 1.635 GB, free: 7.652 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: 1924 * Number of variables: 1924 Notification: Performance of Generate backend data structure: time 0.02771/2.331, allocations: 11.33 MB / 1.646 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/2.331, allocations: 12.03 kB / 1.646 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/2.342, allocations: 2.109 MB / 1.648 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02408/2.366, allocations: 10.49 MB / 1.658 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000743/2.367, allocations: 0.5965 MB / 1.659 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002644/2.37, allocations: 0.796 MB / 1.66 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/2.395, allocations: 8.89 MB / 1.668 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000406/2.396, allocations: 24.47 kB / 1.668 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002111/2.398, allocations: 324 kB / 1.669 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003972/2.398, allocations: 296.8 kB / 1.669 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/2.417, allocations: 7.245 MB / 1.676 GB, free: 7.238 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.07055/2.488, allocations: 42.13 MB / 1.717 GB, free: 2.949 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/2.496, allocations: 4.987 MB / 1.722 GB, free: 15.57 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004542/2.501, allocations: 2.513 MB / 1.725 GB, free: 13.96 MB / 1.026 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.027/2.528, allocations: 10.65 MB / 1.735 GB, free: 3.051 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005914/2.534, allocations: 2.639 MB / 1.738 GB, free: 384 kB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004395/2.538, allocations: 475.7 kB / 1.738 GB, free: 15.91 MB / 1.042 GB Notification: Performance of pre-optimization done (n=426): time 1.871e-05/2.538, allocations: 4 kB / 1.738 GB, free: 15.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=435): time 0.04845/2.587, allocations: 15.3 MB / 1.753 GB, free: 364 kB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003372/2.587, allocations: 0.6063 MB / 1.754 GB, free: 15.61 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01812/2.605, allocations: 8.324 MB / 1.762 GB, free: 7.324 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001239/2.606, allocations: 137.7 kB / 1.762 GB, free: 7.184 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.006447/2.613, allocations: 5.158 MB / 1.767 GB, free: 2.012 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002281/2.615, allocations: 1.5 MB / 1.768 GB, free: 0.5234 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009566/2.616, allocations: 128.8 kB / 1.768 GB, free: 408 kB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0005222/2.617, allocations: 0.5226 MB / 1.769 GB, free: 15.87 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005822/2.623, allocations: 2.237 MB / 1.771 GB, free: 13.62 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007377/2.63, allocations: 4.102 MB / 1.775 GB, free: 8.742 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/2.641, allocations: 5.929 MB / 1.781 GB, free: 2.191 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-05/2.641, allocations: 12 kB / 1.781 GB, free: 2.18 MB / 1.073 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02185/2.663, allocations: 8.294 MB / 1.789 GB, free: 9.785 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009575/2.664, allocations: 1.332 MB / 1.79 GB, free: 7.879 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.371e-05/2.664, allocations: 44 kB / 1.79 GB, free: 7.836 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009375/2.674, allocations: 1.862 MB / 1.792 GB, free: 5.969 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005944/2.679, allocations: 1.268 MB / 1.793 GB, free: 4.699 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/2.69, allocations: 7.862 MB / 1.801 GB, free: 12.37 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/2.7, allocations: 0.798 MB / 1.802 GB, free: 11.58 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/2.702, allocations: 283.9 kB / 1.802 GB, free: 11.3 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/2.702, allocations: 8 kB / 1.802 GB, free: 11.29 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01742/2.719, allocations: 7.126 MB / 1.809 GB, free: 4.078 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/2.719, allocations: 47.98 kB / 1.809 GB, free: 4.031 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008405/2.728, allocations: 1.718 MB / 1.811 GB, free: 2.301 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005343/2.733, allocations: 1.213 MB / 1.812 GB, free: 1.086 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/2.747, allocations: 9.849 MB / 1.822 GB, free: 6.688 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/2.758, allocations: 0.7514 MB / 1.822 GB, free: 5.934 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/2.759, allocations: 270.8 kB / 1.823 GB, free: 5.672 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 182 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,conRadSup.conPIDRad.con1.y,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,conRadSup.conPIDRad.cheYMinMax.y) * 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 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006314/2.765, allocations: 2.338 MB / 1.825 GB, free: 3.324 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002535/2.768, allocations: 0.9403 MB / 1.826 GB, free: 2.375 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/2.78, allocations: 6.32 MB / 1.832 GB, free: 12.01 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009009/2.789, allocations: 4.701 MB / 1.837 GB, free: 7.273 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/2.789, allocations: 0 / 1.837 GB, free: 7.273 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005895/2.795, allocations: 1.714 MB / 1.838 GB, free: 5.527 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002758/2.798, allocations: 107.9 kB / 1.838 GB, free: 5.422 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009053/2.807, allocations: 0.6537 MB / 1.839 GB, free: 4.77 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001667/2.809, allocations: 351.2 kB / 1.839 GB, free: 4.426 MB / 1.135 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01567/2.825, allocations: 5.961 MB / 1.845 GB, free: 14.52 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01509/2.84, allocations: 8.121 MB / 1.853 GB, free: 6.355 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00394/2.844, allocations: 2.208 MB / 1.855 GB, free: 4.145 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.802/3.646, allocations: 5.479 MB / 1.861 GB, free: 0.5023 GB / 1.151 GB Notification: Performance of Backend: time 1.443e-06/3.646, allocations: 0 / 1.861 GB, free: 0.5023 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.03364/3.679, allocations: 11.59 MB / 1.872 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of SimCode: time 0.05422/3.734, allocations: 25.86 MB / 1.897 GB, free: 0.4885 GB / 1.151 GB Notification: Performance of Templates: time 0.2826/4.016, allocations: 204.3 MB / 2.097 GB, free: 326.8 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1)