Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.System6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 108.7 kB / 16.37 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 71.58 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System6): time 1.315/1.555, allocations: 0.5133 GB / 1.298 GB, free: 47.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.08805/1.643, allocations: 73.7 MB / 1.37 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02083/1.664, allocations: 432.6 kB / 1.37 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0146/1.678, allocations: 5.205 MB / 1.376 GB, free: 3 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.03948/1.718, allocations: 13.48 MB / 1.389 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.03219/1.75, allocations: 12.08 MB / 1.401 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.04413/1.794, allocations: 32.45 MB / 1.432 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02537/1.82, allocations: 12.43 MB / 1.444 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02735/1.847, allocations: 12.15 MB / 1.456 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0169/1.864, allocations: 9.254 MB / 1.465 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004822/1.869, allocations: 1.242 MB / 1.466 GB, free: 6.027 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0201/1.889, allocations: 6.494 MB / 1.473 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.007283/1.896, allocations: 3.426 MB / 1.476 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0165/1.913, allocations: 7.002 MB / 1.483 GB, free: 5.051 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.03847/1.951, allocations: 20.29 MB / 1.503 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.951, allocations: 0 / 1.503 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/1.951, allocations: 0 / 1.503 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0006167/1.952, allocations: 0 / 1.503 GB, free: 0.6953 MB / 1.045 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.03427/1.986, allocations: 13.73 MB / 1.516 GB, free: 2.832 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.986, allocations: 8.031 kB / 1.516 GB, free: 2.824 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/1.998, allocations: 2.069 MB / 1.518 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02582/2.024, allocations: 10.37 MB / 1.528 GB, free: 6.277 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006035/2.024, allocations: 0.5888 MB / 1.529 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/2.027, allocations: 0.7966 MB / 1.53 GB, free: 4.891 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/2.05, allocations: 8.891 MB / 1.538 GB, free: 11.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003756/2.051, allocations: 19.78 kB / 1.538 GB, free: 11.66 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002048/2.053, allocations: 324 kB / 1.539 GB, free: 11.34 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003103/2.053, allocations: 298.3 kB / 1.539 GB, free: 11.05 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/2.071, allocations: 7.18 MB / 1.546 GB, free: 3.855 MB / 1.092 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.7829/2.853, allocations: 41.98 MB / 1.587 GB, free: 426 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/2.866, allocations: 4.878 MB / 1.592 GB, free: 423.5 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005319/2.872, allocations: 2.468 MB / 1.594 GB, free: 422.6 MB / 1.092 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.02822/2.9, allocations: 10.59 MB / 1.605 GB, free: 416.9 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004252/2.904, allocations: 2.586 MB / 1.607 GB, free: 416 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002971/2.907, allocations: 381 kB / 1.607 GB, free: 415.9 MB / 1.092 GB Notification: Performance of pre-optimization done (n=424): time 1.158e-05/2.907, allocations: 0.5625 kB / 1.607 GB, free: 415.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=433): time 0.0339/2.941, allocations: 15.08 MB / 1.622 GB, free: 409.2 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/2.941, allocations: 0.5487 MB / 1.623 GB, free: 408.6 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01325/2.955, allocations: 8.52 MB / 1.631 GB, free: 404.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/2.956, allocations: 145.3 kB / 1.631 GB, free: 404.4 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.004116/2.96, allocations: 5.119 MB / 1.636 GB, free: 399.9 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001858/2.962, allocations: 1.496 MB / 1.638 GB, free: 398.6 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002145/2.964, allocations: 1.213 MB / 1.639 GB, free: 397.9 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/2.964, allocations: 305.3 kB / 1.639 GB, free: 397.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004627/2.969, allocations: 2.314 MB / 1.641 GB, free: 396.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/2.974, allocations: 4.11 MB / 1.645 GB, free: 393.1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008227/2.982, allocations: 6.021 MB / 1.651 GB, free: 389.1 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-05/2.982, allocations: 11.88 kB / 1.651 GB, free: 389.1 MB / 1.092 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02043/3.003, allocations: 8.507 MB / 1.66 GB, free: 384.9 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/3.003, allocations: 27.75 kB / 1.66 GB, free: 384.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-05/3.003, allocations: 47.45 kB / 1.66 GB, free: 384.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008559/3.011, allocations: 1.768 MB / 1.661 GB, free: 384.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/3.016, allocations: 1.252 MB / 1.663 GB, free: 383.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008957/3.025, allocations: 8.278 MB / 1.671 GB, free: 376.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008187/3.034, allocations: 390.8 kB / 1.671 GB, free: 376.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007782/3.034, allocations: 288.6 kB / 1.671 GB, free: 376.2 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008309/3.043, allocations: 4.141 MB / 1.675 GB, free: 373.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004893/3.048, allocations: 3.978 MB / 1.679 GB, free: 370.6 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00772/3.055, allocations: 5.762 MB / 1.685 GB, free: 366.6 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-05/3.055, allocations: 14.75 kB / 1.685 GB, free: 366.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=756) (initialization_lambda0): time 0.01785/3.073, allocations: 8.083 MB / 1.693 GB, free: 358.7 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/3.073, allocations: 28.25 kB / 1.693 GB, free: 358.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-05/3.073, allocations: 47.98 kB / 1.693 GB, free: 358.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007991/3.081, allocations: 1.573 MB / 1.694 GB, free: 357.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/3.086, allocations: 1.213 MB / 1.696 GB, free: 355.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/3.097, allocations: 10.48 MB / 1.706 GB, free: 344.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008269/3.106, allocations: 442.1 kB / 1.706 GB, free: 344.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/3.107, allocations: 263.9 kB / 1.706 GB, free: 344.1 MB / 1.092 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conRadSup.conPIDRad.con1.y,conBoiRet.conPID.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,boiSigCon.u,radPumCon.u,conEquSta.hys.y,$PRE.conEquSta.hys.y,conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 675 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,7), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002106/3.109, allocations: 0.5581 MB / 1.707 GB, free: 343.5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003263/3.112, allocations: 0.9298 MB / 1.708 GB, free: 342.6 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/3.124, allocations: 6.18 MB / 1.714 GB, free: 336.4 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007464/3.131, allocations: 4.626 MB / 1.718 GB, free: 331.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/3.131, allocations: 0 / 1.718 GB, free: 331.8 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004947/3.136, allocations: 1.586 MB / 1.72 GB, free: 330.2 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002304/3.138, allocations: 99.98 kB / 1.72 GB, free: 330.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005635/3.144, allocations: 294.4 kB / 1.72 GB, free: 329.8 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/3.145, allocations: 355.2 kB / 1.721 GB, free: 329.4 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0122/3.157, allocations: 5.778 MB / 1.726 GB, free: 323.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01333/3.17, allocations: 7.993 MB / 1.734 GB, free: 315.7 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00298/3.173, allocations: 2.19 MB / 1.736 GB, free: 313.5 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.008859/3.182, allocations: 5.641 MB / 1.742 GB, free: 307.9 MB / 1.092 GB Notification: Performance of Backend: time 8.51e-07/3.182, allocations: 0 / 1.742 GB, free: 307.9 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.03026/3.212, allocations: 11.57 MB / 1.753 GB, free: 297 MB / 1.092 GB Notification: Performance of SimCode: time 0.04137/3.254, allocations: 22.62 MB / 1.775 GB, free: 274.6 MB / 1.092 GB Notification: Performance of Templates: time 0.2541/3.508, allocations: 206 MB / 1.976 GB, free: 70.69 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1)