Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.67/1.67, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.001114/0.001114, allocations: 178.3 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.35/1.35, allocations: 205.4 MB / 0.6305 GB, free: 10.51 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.0007246/0.0007248, allocations: 93.27 kB / 0.7438 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 15.34 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.188/1.352, allocations: 482 MB / 1.45 GB, free: 48.9 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.08867/1.44, allocations: 68.92 MB / 1.517 GB, free: 47.7 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01386/1.454, allocations: 356.3 kB / 1.518 GB, free: 47.7 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0131/1.467, allocations: 3.532 MB / 1.521 GB, free: 47.63 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.03099/1.498, allocations: 10.53 MB / 1.531 GB, free: 47.17 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02557/1.524, allocations: 8.767 MB / 1.54 GB, free: 46.84 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.03574/1.56, allocations: 35.24 MB / 1.574 GB, free: 41.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/1.574, allocations: 9.574 MB / 1.584 GB, free: 37.74 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01913/1.593, allocations: 9.265 MB / 1.593 GB, free: 34.26 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/1.607, allocations: 8.053 MB / 1.601 GB, free: 31.1 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.003027/1.61, allocations: 417.3 kB / 1.601 GB, free: 31.1 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/1.625, allocations: 3.948 MB / 1.605 GB, free: 30.05 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.004257/1.629, allocations: 2.346 MB / 1.607 GB, free: 28.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.005212/1.634, allocations: 2.376 MB / 1.609 GB, free: 27.69 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01703/1.651, allocations: 14.56 MB / 1.624 GB, free: 15.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.651, allocations: 4 kB / 1.624 GB, free: 15.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.963e-06/1.651, allocations: 0 / 1.624 GB, free: 15.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000481/1.652, allocations: 4 kB / 1.624 GB, free: 15.42 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: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.01876/1.671, allocations: 10.79 MB / 1.634 GB, free: 5.566 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.671, allocations: 8.031 kB / 1.634 GB, free: 5.559 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009543/1.68, allocations: 2.053 MB / 1.636 GB, free: 3.504 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02161/1.702, allocations: 10.2 MB / 1.646 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004355/1.702, allocations: 0.5624 MB / 1.647 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/1.704, allocations: 0.7475 MB / 1.647 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01687/1.721, allocations: 8.458 MB / 1.656 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/1.721, allocations: 19.86 kB / 1.656 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007507/1.722, allocations: 310 kB / 1.656 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/1.722, allocations: 283.9 kB / 1.656 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/1.737, allocations: 6.898 MB / 1.663 GB, free: 340 kB / 0.9636 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.06414/1.801, allocations: 40.66 MB / 1.703 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008212/1.81, allocations: 4.629 MB / 1.707 GB, free: 9.918 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004376/1.814, allocations: 2.327 MB / 1.71 GB, free: 8.418 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.0266/1.841, allocations: 10.21 MB / 1.72 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005695/1.846, allocations: 2.453 MB / 1.722 GB, free: 14.99 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004748/1.851, allocations: 450.5 kB / 1.722 GB, free: 14.62 MB / 1.026 GB Notification: Performance of pre-optimization done (n=390): time 2.088e-05/1.851, allocations: 0 / 1.722 GB, free: 14.62 MB / 1.026 GB Notification: Performance of matching and sorting (n=399): time 0.04408/1.895, allocations: 14.57 MB / 1.737 GB, free: 15.8 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/1.896, allocations: 0.548 MB / 1.737 GB, free: 15.13 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01709/1.913, allocations: 8.071 MB / 1.745 GB, free: 7.078 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/1.914, allocations: 125.7 kB / 1.745 GB, free: 6.949 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.005951/1.92, allocations: 4.976 MB / 1.75 GB, free: 1.965 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.002629/1.923, allocations: 1.381 MB / 1.751 GB, free: 0.5938 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009595/1.924, allocations: 114 kB / 1.751 GB, free: 496 kB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005321/1.924, allocations: 0.5178 MB / 1.752 GB, free: 15.96 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005435/1.93, allocations: 2.118 MB / 1.754 GB, free: 13.84 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006775/1.936, allocations: 3.884 MB / 1.758 GB, free: 9.215 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.947, allocations: 5.637 MB / 1.763 GB, free: 2.984 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.649e-05/1.947, allocations: 8 kB / 1.763 GB, free: 2.977 MB / 1.057 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02248/1.969, allocations: 7.942 MB / 1.771 GB, free: 10.93 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008229/1.97, allocations: 1.284 MB / 1.772 GB, free: 9.09 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.342e-05/1.97, allocations: 40 kB / 1.772 GB, free: 9.051 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009465/1.98, allocations: 1.841 MB / 1.774 GB, free: 7.203 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005534/1.985, allocations: 1.205 MB / 1.775 GB, free: 5.996 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/1.996, allocations: 7.847 MB / 1.783 GB, free: 13.68 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009556/2.005, allocations: 0.7462 MB / 1.784 GB, free: 12.94 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/2.006, allocations: 267.9 kB / 1.784 GB, free: 12.68 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/2.007, allocations: 4 kB / 1.784 GB, free: 12.67 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01717/2.024, allocations: 6.849 MB / 1.791 GB, free: 5.73 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/2.024, allocations: 48.22 kB / 1.791 GB, free: 5.684 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00876/2.033, allocations: 1.71 MB / 1.792 GB, free: 3.961 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/2.038, allocations: 1.166 MB / 1.794 GB, free: 2.793 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/2.052, allocations: 9.817 MB / 1.803 GB, free: 8.426 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009314/2.061, allocations: 0.7101 MB / 1.804 GB, free: 7.715 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/2.062, allocations: 259.9 kB / 1.804 GB, free: 7.461 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,$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 (649): * Single equations (assignments): 633 * 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.006252/2.069, allocations: 2.265 MB / 1.806 GB, free: 5.184 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/2.071, allocations: 0.8951 MB / 1.807 GB, free: 4.277 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/2.084, allocations: 5.994 MB / 1.813 GB, free: 14.23 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008242/2.092, allocations: 4.443 MB / 1.817 GB, free: 9.754 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/2.092, allocations: 2.625 kB / 1.817 GB, free: 9.754 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004809/2.097, allocations: 1.649 MB / 1.819 GB, free: 8.074 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/2.099, allocations: 95.98 kB / 1.819 GB, free: 7.98 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006617/2.105, allocations: 0.6082 MB / 1.82 GB, free: 7.371 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005701/2.106, allocations: 311 kB / 1.82 GB, free: 7.066 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01304/2.119, allocations: 5.609 MB / 1.825 GB, free: 1.496 MB / 1.12 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01427/2.133, allocations: 7.638 MB / 1.833 GB, free: 9.809 MB / 1.135 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003423/2.137, allocations: 2.061 MB / 1.835 GB, free: 7.742 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01052/2.147, allocations: 5.316 MB / 1.84 GB, free: 2.453 MB / 1.135 GB Notification: Performance of Backend: time 6.51e-07/2.147, allocations: 0 / 1.84 GB, free: 2.453 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.03157/2.179, allocations: 11.13 MB / 1.851 GB, free: 7.789 MB / 1.151 GB Notification: Performance of SimCode: time 0.7136/2.893, allocations: 24.96 MB / 1.875 GB, free: 0.4991 GB / 1.151 GB Notification: Performance of Templates: time 0.2665/3.159, allocations: 196.9 MB / 2.068 GB, free: 358.1 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1)