Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6.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.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.566/1.566, allocations: 287.4 MB / 303.2 MB, free: 8.141 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.0009056/0.0009056, allocations: 182 kB / 371.8 MB, free: 10.81 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.288/1.288, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0007868/0.0007868, allocations: 87.08 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 9.828 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1596, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System6): time 1.178/1.338, allocations: 483.2 MB / 1.451 GB, free: 48.99 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.08212/1.42, allocations: 69.43 MB / 1.519 GB, free: 47.79 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01311/1.433, allocations: 366.3 kB / 1.519 GB, free: 47.79 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01238/1.445, allocations: 3.581 MB / 1.523 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.03016/1.476, allocations: 10.58 MB / 1.533 GB, free: 47.25 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02483/1.5, allocations: 8.887 MB / 1.542 GB, free: 46.92 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.036/1.536, allocations: 35.8 MB / 1.577 GB, free: 40.86 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01744/1.554, allocations: 10 MB / 1.587 GB, free: 37.23 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01852/1.572, allocations: 9.391 MB / 1.596 GB, free: 33.68 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01318/1.586, allocations: 8.219 MB / 1.604 GB, free: 30.43 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.003152/1.589, allocations: 432.5 kB / 1.604 GB, free: 30.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/1.603, allocations: 3.961 MB / 1.608 GB, free: 29.38 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.00397/1.607, allocations: 2.416 MB / 1.61 GB, free: 27.78 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.004779/1.612, allocations: 2.464 MB / 1.613 GB, free: 26.21 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01541/1.628, allocations: 15.26 MB / 1.628 GB, free: 13.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.628, allocations: 4 kB / 1.628 GB, free: 13.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.462e-06/1.628, allocations: 0 / 1.628 GB, free: 13.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005147/1.628, allocations: 0 / 1.628 GB, free: 13.35 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.02022/1.648, allocations: 11.33 MB / 1.639 GB, free: 2.984 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.648, allocations: 8.031 kB / 1.639 GB, free: 2.977 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008935/1.657, allocations: 2.114 MB / 1.641 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01924/1.677, allocations: 10.49 MB / 1.651 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/1.677, allocations: 0.592 MB / 1.652 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/1.678, allocations: 0.7968 MB / 1.652 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/1.693, allocations: 8.896 MB / 1.661 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/1.693, allocations: 27.75 kB / 1.661 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006454/1.694, allocations: 321.9 kB / 1.661 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/1.694, allocations: 296.1 kB / 1.662 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/1.707, allocations: 7.237 MB / 1.669 GB, free: 12.94 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.05602/1.763, allocations: 42.12 MB / 1.71 GB, free: 8.652 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007496/1.77, allocations: 4.982 MB / 1.715 GB, free: 5.273 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00392/1.774, allocations: 2.51 MB / 1.717 GB, free: 3.672 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.0233/1.798, allocations: 10.66 MB / 1.728 GB, free: 9.551 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004742/1.802, allocations: 2.631 MB / 1.73 GB, free: 6.883 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003707/1.806, allocations: 478.1 kB / 1.731 GB, free: 6.414 MB / 1.026 GB Notification: Performance of pre-optimization done (n=426): time 8.796e-06/1.806, allocations: 0 / 1.731 GB, free: 6.414 MB / 1.026 GB Notification: Performance of matching and sorting (n=435): time 0.03906/1.845, allocations: 15.3 MB / 1.746 GB, free: 6.859 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/1.845, allocations: 0.6105 MB / 1.746 GB, free: 6.117 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01545/1.861, allocations: 8.32 MB / 1.754 GB, free: 13.83 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001079/1.862, allocations: 141.7 kB / 1.755 GB, free: 13.69 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.005445/1.867, allocations: 5.16 MB / 1.76 GB, free: 8.516 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002011/1.87, allocations: 1.501 MB / 1.761 GB, free: 7.027 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006621/1.87, allocations: 119.7 kB / 1.761 GB, free: 6.914 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004177/1.871, allocations: 0.5304 MB / 1.762 GB, free: 6.375 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005287/1.876, allocations: 2.237 MB / 1.764 GB, free: 4.133 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006662/1.883, allocations: 4.107 MB / 1.768 GB, free: 15.25 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.893, allocations: 5.934 MB / 1.774 GB, free: 8.711 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-05/1.893, allocations: 8 kB / 1.774 GB, free: 8.703 MB / 1.073 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02199/1.915, allocations: 8.293 MB / 1.782 GB, free: 316 kB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008533/1.916, allocations: 1.33 MB / 1.783 GB, free: 14.41 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.714e-05/1.916, allocations: 44 kB / 1.783 GB, free: 14.36 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009462/1.925, allocations: 1.861 MB / 1.785 GB, free: 12.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005756/1.931, allocations: 1.271 MB / 1.786 GB, free: 11.23 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.942, allocations: 7.862 MB / 1.794 GB, free: 2.902 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009749/1.952, allocations: 0.7931 MB / 1.795 GB, free: 2.109 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.953, allocations: 279.9 kB / 1.795 GB, free: 1.836 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.953, allocations: 4 kB / 1.795 GB, free: 1.832 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01858/1.972, allocations: 7.142 MB / 1.802 GB, free: 10.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.972, allocations: 51.92 kB / 1.802 GB, free: 10.55 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00856/1.98, allocations: 1.717 MB / 1.804 GB, free: 8.828 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005279/1.986, allocations: 1.213 MB / 1.805 GB, free: 7.613 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/2, allocations: 9.84 MB / 1.814 GB, free: 13.22 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008695/2.008, allocations: 0.7649 MB / 1.815 GB, free: 12.46 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/2.01, allocations: 271.9 kB / 1.815 GB, free: 12.2 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.005738/2.015, allocations: 2.33 MB / 1.818 GB, free: 9.855 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002481/2.018, allocations: 0.9336 MB / 1.819 GB, free: 8.91 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/2.032, allocations: 6.326 MB / 1.825 GB, free: 2.543 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009302/2.042, allocations: 4.702 MB / 1.829 GB, free: 13.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/2.042, allocations: 0 / 1.829 GB, free: 13.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005199/2.047, allocations: 1.711 MB / 1.831 GB, free: 12.06 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002701/2.05, allocations: 104 kB / 1.831 GB, free: 11.96 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009813/2.059, allocations: 0.6551 MB / 1.832 GB, free: 11.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/2.061, allocations: 351.2 kB / 1.832 GB, free: 10.96 MB / 1.135 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01934/2.08, allocations: 5.965 MB / 1.838 GB, free: 5.047 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01408/2.094, allocations: 8.118 MB / 1.846 GB, free: 12.89 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003441/2.097, allocations: 2.204 MB / 1.848 GB, free: 10.68 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.009118/2.107, allocations: 5.48 MB / 1.853 GB, free: 5.234 MB / 1.151 GB Notification: Performance of Backend: time 5.61e-07/2.107, allocations: 7.938 kB / 1.853 GB, free: 5.227 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.6402/2.747, allocations: 11.5 MB / 1.865 GB, free: 0.509 GB / 1.151 GB Notification: Performance of SimCode: time 0.04613/2.793, allocations: 25.87 MB / 1.89 GB, free: 0.4983 GB / 1.151 GB Notification: Performance of Templates: time 0.2671/3.06, allocations: 202 MB / 2.087 GB, free: 340.9 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1)