Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5.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.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5") translateModel(Buildings.Examples.Tutorial.CDL.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.549/1.549, allocations: 287.4 MB / 303.2 MB, free: 8.23 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.001036/0.001036, allocations: 178.6 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.256/1.256, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0007472/0.0007472, allocations: 100.5 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 12 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1676, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System5): time 1.152/1.32, allocations: 482.7 MB / 1.451 GB, free: 48.99 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.08041/1.4, allocations: 69.19 MB / 1.518 GB, free: 47.79 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01417/1.414, allocations: 361.6 kB / 1.519 GB, free: 47.79 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/1.426, allocations: 3.558 MB / 1.522 GB, free: 47.72 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.03013/1.456, allocations: 10.56 MB / 1.532 GB, free: 47.25 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0241/1.48, allocations: 8.837 MB / 1.541 GB, free: 46.92 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.03521/1.515, allocations: 35.54 MB / 1.576 GB, free: 41.15 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.015/1.53, allocations: 9.796 MB / 1.585 GB, free: 37.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0204/1.551, allocations: 9.326 MB / 1.594 GB, free: 34.06 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01403/1.565, allocations: 8.155 MB / 1.602 GB, free: 30.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.002734/1.568, allocations: 426.4 kB / 1.603 GB, free: 30.84 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/1.587, allocations: 3.956 MB / 1.607 GB, free: 29.79 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.004756/1.592, allocations: 2.378 MB / 1.609 GB, free: 28.51 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.006883/1.598, allocations: 2.42 MB / 1.611 GB, free: 26.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02589/1.624, allocations: 14.93 MB / 1.626 GB, free: 14.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.624, allocations: 0 / 1.626 GB, free: 14.39 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.425e-06/1.624, allocations: 0 / 1.626 GB, free: 14.39 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004497/1.625, allocations: 0 / 1.626 GB, free: 14.39 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.02882/1.654, allocations: 11.12 MB / 1.637 GB, free: 4.223 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.654, allocations: 8.031 kB / 1.637 GB, free: 4.215 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/1.668, allocations: 2.083 MB / 1.639 GB, free: 2.133 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03096/1.699, allocations: 10.34 MB / 1.649 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008677/1.7, allocations: 0.5791 MB / 1.649 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002852/1.702, allocations: 0.7714 MB / 1.65 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02525/1.728, allocations: 8.692 MB / 1.659 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/1.728, allocations: 23.78 kB / 1.659 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001036/1.729, allocations: 319.1 kB / 1.659 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003974/1.729, allocations: 288.9 kB / 1.659 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/1.75, allocations: 7.088 MB / 1.666 GB, free: 14.57 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.06082/1.811, allocations: 41.4 MB / 1.707 GB, free: 10.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006818/1.818, allocations: 4.746 MB / 1.711 GB, free: 7.598 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003658/1.822, allocations: 2.429 MB / 1.714 GB, free: 6.043 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.0209/1.843, allocations: 10.47 MB / 1.724 GB, free: 13.47 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004277/1.847, allocations: 2.565 MB / 1.726 GB, free: 10.88 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003035/1.85, allocations: 468 kB / 1.727 GB, free: 10.41 MB / 1.026 GB Notification: Performance of pre-optimization done (n=412): time 7.754e-06/1.85, allocations: 0 / 1.727 GB, free: 10.41 MB / 1.026 GB Notification: Performance of matching and sorting (n=421): time 0.03406/1.884, allocations: 15 MB / 1.741 GB, free: 11.17 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002183/1.884, allocations: 0.5811 MB / 1.742 GB, free: 10.46 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/1.896, allocations: 8.18 MB / 1.75 GB, free: 2.301 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006443/1.896, allocations: 133.7 kB / 1.75 GB, free: 2.164 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004422/1.901, allocations: 5.063 MB / 1.755 GB, free: 13.15 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.902, allocations: 1.458 MB / 1.756 GB, free: 11.7 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/1.902, allocations: 118.3 kB / 1.757 GB, free: 11.59 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002856/1.903, allocations: 0.5222 MB / 1.757 GB, free: 11.06 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004459/1.907, allocations: 2.186 MB / 1.759 GB, free: 8.867 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/1.913, allocations: 4.02 MB / 1.763 GB, free: 4.094 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009076/1.922, allocations: 5.791 MB / 1.769 GB, free: 13.7 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/1.922, allocations: 8 kB / 1.769 GB, free: 13.7 MB / 1.073 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02143/1.943, allocations: 8.314 MB / 1.777 GB, free: 5.281 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001048/1.944, allocations: 1.305 MB / 1.778 GB, free: 3.418 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.216e-05/1.944, allocations: 43.98 kB / 1.778 GB, free: 3.375 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009327/1.954, allocations: 1.844 MB / 1.78 GB, free: 1.52 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005304/1.959, allocations: 1.244 MB / 1.781 GB, free: 280 kB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/1.969, allocations: 7.94 MB / 1.789 GB, free: 7.867 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008968/1.978, allocations: 0.7944 MB / 1.79 GB, free: 7.078 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005917/1.979, allocations: 279.4 kB / 1.79 GB, free: 6.809 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/1.979, allocations: 7.984 kB / 1.79 GB, free: 6.801 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01413/1.993, allocations: 6.825 MB / 1.797 GB, free: 15.88 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.165e-05/1.993, allocations: 44 kB / 1.797 GB, free: 15.84 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008376/2.002, allocations: 1.717 MB / 1.798 GB, free: 14.11 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004564/2.006, allocations: 1.182 MB / 1.8 GB, free: 12.93 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/2.021, allocations: 10.03 MB / 1.809 GB, free: 2.359 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008828/2.03, allocations: 0.7425 MB / 1.81 GB, free: 1.617 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007631/2.031, allocations: 263.9 kB / 1.81 GB, free: 1.359 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: 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.004813/2.036, allocations: 2.303 MB / 1.813 GB, free: 15.05 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001807/2.037, allocations: 0.9144 MB / 1.813 GB, free: 14.12 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/2.049, allocations: 6.191 MB / 1.82 GB, free: 7.887 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008363/2.058, allocations: 4.611 MB / 1.824 GB, free: 3.246 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/2.058, allocations: 0 / 1.824 GB, free: 3.246 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003974/2.062, allocations: 1.68 MB / 1.826 GB, free: 1.535 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/2.063, allocations: 99.92 kB / 1.826 GB, free: 1.438 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005287/2.068, allocations: 0.6551 MB / 1.826 GB, free: 0.7812 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005158/2.069, allocations: 339.1 kB / 1.827 GB, free: 460 kB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01252/2.081, allocations: 5.848 MB / 1.832 GB, free: 10.65 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01249/2.094, allocations: 7.922 MB / 1.84 GB, free: 2.68 MB / 1.135 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003218/2.097, allocations: 2.156 MB / 1.842 GB, free: 0.5195 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.008061/2.105, allocations: 5.386 MB / 1.848 GB, free: 11.16 MB / 1.151 GB Notification: Performance of Backend: time 5.01e-07/2.105, allocations: 0 / 1.848 GB, free: 11.16 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02643/2.132, allocations: 11.49 MB / 1.859 GB, free: 140 kB / 1.151 GB Notification: Performance of SimCode: time 0.6606/2.792, allocations: 25.44 MB / 1.884 GB, free: 0.5006 GB / 1.151 GB Notification: Performance of Templates: time 0.2581/3.05, allocations: 199 MB / 2.078 GB, free: 349.9 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System5.pipe 2>&1)