Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3") translateModel(Buildings.Examples.Tutorial.CDL.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.833/1.833, allocations: 287.4 MB / 303.2 MB, free: 8.219 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.0009349/0.0009345, allocations: 182.2 kB / 371.8 MB, free: 10.82 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.432/1.432, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0006772/0.0006771, allocations: 95.78 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 16.48 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System3): time 1.225/1.388, allocations: 482.5 MB / 1.45 GB, free: 49 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.09408/1.482, allocations: 69.13 MB / 1.518 GB, free: 47.79 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01443/1.497, allocations: 362.9 kB / 1.518 GB, free: 47.79 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01289/1.51, allocations: 3.558 MB / 1.522 GB, free: 47.73 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.03366/1.543, allocations: 10.55 MB / 1.532 GB, free: 47.26 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02776/1.571, allocations: 8.814 MB / 1.541 GB, free: 46.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.03747/1.609, allocations: 35.47 MB / 1.575 GB, free: 41.16 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/1.624, allocations: 9.741 MB / 1.585 GB, free: 37.61 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02017/1.645, allocations: 9.31 MB / 1.594 GB, free: 34.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01504/1.66, allocations: 8.113 MB / 1.602 GB, free: 30.9 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.003911/1.664, allocations: 423.5 kB / 1.602 GB, free: 30.9 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01706/1.681, allocations: 3.956 MB / 1.606 GB, free: 29.85 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.005346/1.686, allocations: 2.364 MB / 1.608 GB, free: 28.71 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.00613/1.692, allocations: 2.411 MB / 1.611 GB, free: 27.18 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01821/1.71, allocations: 14.85 MB / 1.625 GB, free: 14.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.711, allocations: 4 kB / 1.625 GB, free: 14.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.754e-06/1.711, allocations: 4 kB / 1.625 GB, free: 14.67 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006085/1.711, allocations: 0 / 1.625 GB, free: 14.67 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02098/1.732, allocations: 10.98 MB / 1.636 GB, free: 4.633 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.732, allocations: 8.031 kB / 1.636 GB, free: 4.625 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009281/1.741, allocations: 2.072 MB / 1.638 GB, free: 2.551 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/1.763, allocations: 10.32 MB / 1.648 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005794/1.763, allocations: 0.5714 MB / 1.649 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002125/1.765, allocations: 0.7716 MB / 1.649 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01914/1.785, allocations: 8.631 MB / 1.658 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/1.785, allocations: 18.38 kB / 1.658 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/1.786, allocations: 312.8 kB / 1.658 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002847/1.786, allocations: 288.6 kB / 1.658 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/1.801, allocations: 7.036 MB / 1.665 GB, free: 15.08 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.06112/1.862, allocations: 41.28 MB / 1.706 GB, free: 11.36 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007756/1.87, allocations: 4.64 MB / 1.71 GB, free: 8.219 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004204/1.874, allocations: 2.408 MB / 1.713 GB, free: 6.668 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.02397/1.898, allocations: 10.38 MB / 1.723 GB, free: 14.46 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005028/1.903, allocations: 2.513 MB / 1.725 GB, free: 11.91 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004192/1.908, allocations: 464.1 kB / 1.726 GB, free: 11.45 MB / 1.026 GB Notification: Performance of pre-optimization done (n=402): time 1.289e-05/1.908, allocations: 0 / 1.726 GB, free: 11.45 MB / 1.026 GB Notification: Performance of matching and sorting (n=411): time 0.03969/1.947, allocations: 14.84 MB / 1.74 GB, free: 12.36 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002267/1.948, allocations: 0.581 MB / 1.741 GB, free: 11.65 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01467/1.962, allocations: 8.184 MB / 1.749 GB, free: 3.488 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.963, allocations: 133.7 kB / 1.749 GB, free: 3.352 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004607/1.968, allocations: 5.067 MB / 1.754 GB, free: 14.27 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/1.97, allocations: 1.424 MB / 1.755 GB, free: 12.86 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003384/1.97, allocations: 116 kB / 1.755 GB, free: 12.74 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003081/1.97, allocations: 0.5259 MB / 1.756 GB, free: 12.21 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/1.975, allocations: 2.166 MB / 1.758 GB, free: 10.04 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005622/1.981, allocations: 3.971 MB / 1.762 GB, free: 5.312 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009377/1.99, allocations: 5.763 MB / 1.767 GB, free: 14.95 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.068e-05/1.99, allocations: 12 kB / 1.767 GB, free: 14.94 MB / 1.073 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01963/2.01, allocations: 7.922 MB / 1.775 GB, free: 6.914 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009047/2.011, allocations: 1.296 MB / 1.776 GB, free: 5.055 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.058e-05/2.011, allocations: 43.98 kB / 1.776 GB, free: 5.012 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009216/2.02, allocations: 1.859 MB / 1.778 GB, free: 3.148 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/2.026, allocations: 1.229 MB / 1.779 GB, free: 1.918 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/2.036, allocations: 7.88 MB / 1.787 GB, free: 9.574 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009615/2.045, allocations: 0.7463 MB / 1.788 GB, free: 8.828 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/2.047, allocations: 279.6 kB / 1.788 GB, free: 8.559 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/2.047, allocations: 4 kB / 1.788 GB, free: 8.555 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01653/2.063, allocations: 6.949 MB / 1.795 GB, free: 1.512 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/2.063, allocations: 56.14 kB / 1.795 GB, free: 1.457 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008547/2.072, allocations: 1.708 MB / 1.797 GB, free: 15.74 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/2.077, allocations: 1.186 MB / 1.798 GB, free: 14.55 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/2.091, allocations: 9.811 MB / 1.807 GB, free: 4.203 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008662/2.1, allocations: 0.7165 MB / 1.808 GB, free: 3.488 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/2.101, allocations: 263.9 kB / 1.808 GB, free: 3.23 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 14 ($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,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 (665): * Single equations (assignments): 649 * 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.005322/2.106, allocations: 2.288 MB / 1.811 GB, free: 0.9297 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002279/2.108, allocations: 0.9105 MB / 1.811 GB, free: 8 kB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/2.121, allocations: 6.12 MB / 1.817 GB, free: 9.84 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008529/2.129, allocations: 4.545 MB / 1.822 GB, free: 5.258 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/2.129, allocations: 0 / 1.822 GB, free: 5.258 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006214/2.136, allocations: 1.672 MB / 1.823 GB, free: 3.555 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002482/2.138, allocations: 99.98 kB / 1.824 GB, free: 3.457 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007402/2.146, allocations: 0.6199 MB / 1.824 GB, free: 2.836 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007648/2.146, allocations: 323 kB / 1.824 GB, free: 2.52 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01316/2.16, allocations: 5.743 MB / 1.83 GB, free: 12.82 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01331/2.173, allocations: 7.835 MB / 1.838 GB, free: 4.941 MB / 1.135 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003097/2.176, allocations: 2.109 MB / 1.84 GB, free: 2.828 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.008103/2.184, allocations: 5.399 MB / 1.845 GB, free: 13.46 MB / 1.151 GB Notification: Performance of Backend: time 6.21e-07/2.184, allocations: 4 kB / 1.845 GB, free: 13.46 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02606/2.21, allocations: 11.22 MB / 1.856 GB, free: 2.703 MB / 1.151 GB Notification: Performance of SimCode: time 0.702/2.912, allocations: 25.33 MB / 1.881 GB, free: 0.4994 GB / 1.151 GB Notification: Performance of Templates: time 0.2685/3.181, allocations: 198.8 MB / 2.075 GB, free: 351.9 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1)