Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4.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.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4") translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001084/0.001084, allocations: 179.5 kB / 372.9 MB, free: 10.14 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.887/1.887, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0008181/0.0008181, allocations: 104 kB / 0.745 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003973, allocations: 15.41 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.253, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System4): time 1.764/2.017, allocations: 482.6 MB / 1.452 GB, free: 48.72 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.09239/2.109, allocations: 69.15 MB / 1.52 GB, free: 47.51 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01628/2.126, allocations: 361.8 kB / 1.52 GB, free: 47.51 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01594/2.142, allocations: 3.649 MB / 1.523 GB, free: 47.44 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.03812/2.18, allocations: 11.25 MB / 1.534 GB, free: 46.91 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03091/2.211, allocations: 8.931 MB / 1.543 GB, free: 46.48 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.03827/2.249, allocations: 35.49 MB / 1.578 GB, free: 39.59 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.018/2.267, allocations: 9.796 MB / 1.587 GB, free: 36.02 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02286/2.29, allocations: 9.555 MB / 1.597 GB, free: 32.42 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/2.306, allocations: 8.123 MB / 1.605 GB, free: 29.22 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.005103/2.312, allocations: 423.8 kB / 1.605 GB, free: 29.22 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02337/2.335, allocations: 5.322 MB / 1.61 GB, free: 27.51 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.005635/2.341, allocations: 2.366 MB / 1.613 GB, free: 25.74 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01448/2.355, allocations: 5.602 MB / 1.618 GB, free: 21.59 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02042/2.376, allocations: 15.11 MB / 1.633 GB, free: 8.832 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/2.376, allocations: 0 / 1.633 GB, free: 8.832 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.615e-06/2.376, allocations: 0 / 1.633 GB, free: 8.832 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005708/2.376, allocations: 0 / 1.633 GB, free: 8.832 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: 1860 * Number of variables: 1860 Notification: Performance of Generate backend data structure: time 0.02031/2.397, allocations: 11 MB / 1.643 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/2.397, allocations: 8.031 kB / 1.644 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/2.407, allocations: 2.079 MB / 1.646 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02309/2.43, allocations: 10.32 MB / 1.656 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007447/2.431, allocations: 0.5709 MB / 1.656 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/2.433, allocations: 0.772 MB / 1.657 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/2.451, allocations: 8.652 MB / 1.665 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/2.451, allocations: 19.86 kB / 1.665 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008293/2.452, allocations: 317.7 kB / 1.666 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002488/2.452, allocations: 284.4 kB / 1.666 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/2.467, allocations: 7.055 MB / 1.673 GB, free: 9.188 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.06446/2.531, allocations: 41.28 MB / 1.713 GB, free: 5.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008431/2.54, allocations: 4.646 MB / 1.718 GB, free: 2.359 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004759/2.544, allocations: 2.417 MB / 1.72 GB, free: 0.8164 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.02773/2.572, allocations: 10.4 MB / 1.73 GB, free: 7.758 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005098/2.577, allocations: 2.533 MB / 1.733 GB, free: 5.191 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004806/2.582, allocations: 464.1 kB / 1.733 GB, free: 4.734 MB / 1.026 GB Notification: Performance of pre-optimization done (n=405): time 1.458e-05/2.582, allocations: 3.984 kB / 1.733 GB, free: 4.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=414): time 0.04278/2.625, allocations: 14.93 MB / 1.748 GB, free: 5.547 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002875/2.625, allocations: 0.5811 MB / 1.748 GB, free: 4.836 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01494/2.64, allocations: 8.184 MB / 1.756 GB, free: 12.68 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001201/2.641, allocations: 137.7 kB / 1.756 GB, free: 12.54 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.005856/2.647, allocations: 5.043 MB / 1.761 GB, free: 7.477 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/2.65, allocations: 1.44 MB / 1.763 GB, free: 6.051 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004946/2.65, allocations: 108 kB / 1.763 GB, free: 5.945 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004126/2.65, allocations: 0.5182 MB / 1.763 GB, free: 5.418 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004893/2.655, allocations: 2.174 MB / 1.765 GB, free: 3.238 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006524/2.662, allocations: 4.001 MB / 1.769 GB, free: 14.48 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/2.673, allocations: 5.77 MB / 1.775 GB, free: 8.094 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.64e-05/2.673, allocations: 12 kB / 1.775 GB, free: 8.082 MB / 1.073 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02567/2.698, allocations: 8.113 MB / 1.783 GB, free: 15.87 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009602/2.699, allocations: 1.289 MB / 1.784 GB, free: 14.01 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.997e-05/2.699, allocations: 54.67 kB / 1.784 GB, free: 13.96 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009357/2.709, allocations: 1.849 MB / 1.786 GB, free: 12.11 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00572/2.715, allocations: 1.24 MB / 1.787 GB, free: 10.86 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/2.725, allocations: 7.864 MB / 1.795 GB, free: 2.535 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00996/2.735, allocations: 0.7689 MB / 1.796 GB, free: 1.77 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0014/2.737, allocations: 271.9 kB / 1.796 GB, free: 1.504 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/2.737, allocations: 4 kB / 1.796 GB, free: 1.5 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01795/2.755, allocations: 6.968 MB / 1.803 GB, free: 10.44 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/2.755, allocations: 47.98 kB / 1.803 GB, free: 10.39 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008633/2.763, allocations: 1.719 MB / 1.804 GB, free: 8.664 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005319/2.769, allocations: 1.186 MB / 1.806 GB, free: 7.477 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/2.783, allocations: 9.792 MB / 1.815 GB, free: 13.15 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009055/2.792, allocations: 0.7269 MB / 1.816 GB, free: 12.42 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/2.793, allocations: 259.9 kB / 1.816 GB, free: 12.16 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 17 ($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.conEquSta.hys.y,conEquSta.hys.y,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 (668): * Single equations (assignments): 652 * 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.005938/2.799, allocations: 2.301 MB / 1.818 GB, free: 9.852 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00249/2.802, allocations: 0.9066 MB / 1.819 GB, free: 8.934 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/2.815, allocations: 6.143 MB / 1.825 GB, free: 2.738 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009152/2.824, allocations: 4.551 MB / 1.83 GB, free: 14.15 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/2.824, allocations: 0 / 1.83 GB, free: 14.15 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005821/2.83, allocations: 1.676 MB / 1.831 GB, free: 12.45 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002518/2.832, allocations: 99.98 kB / 1.831 GB, free: 12.35 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007048/2.839, allocations: 0.6276 MB / 1.832 GB, free: 11.72 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006909/2.84, allocations: 327.1 kB / 1.832 GB, free: 11.4 MB / 1.135 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01385/2.854, allocations: 5.769 MB / 1.838 GB, free: 5.672 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01375/2.868, allocations: 7.857 MB / 1.846 GB, free: 13.77 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003291/2.871, allocations: 2.129 MB / 1.848 GB, free: 11.63 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.009118/2.88, allocations: 5.398 MB / 1.853 GB, free: 6.266 MB / 1.151 GB Notification: Performance of Backend: time 7.82e-07/2.88, allocations: 0 / 1.853 GB, free: 6.266 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.7994/3.68, allocations: 11.38 MB / 1.864 GB, free: 0.5102 GB / 1.151 GB Notification: Performance of SimCode: time 0.05383/3.734, allocations: 25.37 MB / 1.889 GB, free: 0.4999 GB / 1.151 GB Notification: Performance of Templates: time 0.3229/4.057, allocations: 201.3 MB / 2.086 GB, free: 342.8 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1)