Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, 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.001061/0.001061, allocations: 184.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.708/1.708, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0008344/0.0008345, allocations: 106.1 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004708, allocations: 19.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2673, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.905/2.172, allocations: 482 MB / 1.451 GB, free: 48.65 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.1185/2.291, allocations: 68.91 MB / 1.519 GB, free: 47.45 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02318/2.314, allocations: 355.1 kB / 1.519 GB, free: 47.45 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.02462/2.339, allocations: 3.626 MB / 1.523 GB, free: 47.38 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.06471/2.403, allocations: 11.23 MB / 1.534 GB, free: 46.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03676/2.44, allocations: 8.881 MB / 1.542 GB, free: 46.41 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.05482/2.495, allocations: 35.25 MB / 1.577 GB, free: 39.77 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02601/2.521, allocations: 9.609 MB / 1.586 GB, free: 36.25 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03041/2.552, allocations: 9.478 MB / 1.595 GB, free: 32.69 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02223/2.574, allocations: 8.059 MB / 1.603 GB, free: 29.53 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.005928/2.58, allocations: 416 kB / 1.604 GB, free: 29.53 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02647/2.606, allocations: 5.32 MB / 1.609 GB, free: 28.06 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.008958/2.615, allocations: 2.34 MB / 1.611 GB, free: 26.45 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02152/2.637, allocations: 5.533 MB / 1.616 GB, free: 22.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02717/2.664, allocations: 14.78 MB / 1.631 GB, free: 9.863 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/2.664, allocations: 0 / 1.631 GB, free: 9.863 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.248e-06/2.664, allocations: 0 / 1.631 GB, free: 9.863 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008897/2.665, allocations: 0 / 1.631 GB, free: 9.863 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.03128/2.696, allocations: 10.79 MB / 1.641 GB, free: 0 / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 9.954e-05/2.697, allocations: 8.078 kB / 1.641 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/2.709, allocations: 2.049 MB / 1.643 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03011/2.739, allocations: 10.21 MB / 1.653 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007123/2.74, allocations: 0.5598 MB / 1.654 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003077/2.743, allocations: 0.7534 MB / 1.655 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02659/2.77, allocations: 8.454 MB / 1.663 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002477/2.77, allocations: 11.94 kB / 1.663 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/2.772, allocations: 307.7 kB / 1.663 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002917/2.772, allocations: 279.4 kB / 1.664 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/2.791, allocations: 6.901 MB / 1.67 GB, free: 10.77 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.08009/2.871, allocations: 40.66 MB / 1.71 GB, free: 7.484 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008655/2.88, allocations: 4.638 MB / 1.715 GB, free: 4.352 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/2.884, allocations: 2.318 MB / 1.717 GB, free: 2.867 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.03149/2.916, allocations: 10.22 MB / 1.727 GB, free: 11.15 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005524/2.921, allocations: 2.449 MB / 1.729 GB, free: 8.656 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00599/2.927, allocations: 455.9 kB / 1.73 GB, free: 8.211 MB / 1.026 GB Notification: Performance of pre-optimization done (n=390): time 2.695e-05/2.927, allocations: 4 kB / 1.73 GB, free: 8.207 MB / 1.026 GB Notification: Performance of matching and sorting (n=399): time 0.04473/2.972, allocations: 14.56 MB / 1.744 GB, free: 9.375 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/2.972, allocations: 0.5519 MB / 1.744 GB, free: 8.699 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01523/2.988, allocations: 8.075 MB / 1.752 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001626/2.989, allocations: 132.9 kB / 1.752 GB, free: 0.5078 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.005895/2.995, allocations: 4.955 MB / 1.757 GB, free: 11.54 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002694/2.998, allocations: 1.392 MB / 1.759 GB, free: 10.16 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005265/2.998, allocations: 115.7 kB / 1.759 GB, free: 10.05 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000415/2.999, allocations: 0.51 MB / 1.759 GB, free: 9.535 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/3.004, allocations: 2.115 MB / 1.761 GB, free: 7.414 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006352/3.01, allocations: 3.892 MB / 1.765 GB, free: 2.773 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/3.021, allocations: 5.63 MB / 1.771 GB, free: 12.54 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.784e-05/3.021, allocations: 12 kB / 1.771 GB, free: 12.53 MB / 1.073 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02566/3.047, allocations: 7.952 MB / 1.778 GB, free: 4.465 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00123/3.048, allocations: 1.274 MB / 1.78 GB, free: 2.633 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-05/3.048, allocations: 40 kB / 1.78 GB, free: 2.594 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009714/3.058, allocations: 1.841 MB / 1.781 GB, free: 0.75 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006276/3.064, allocations: 1.209 MB / 1.783 GB, free: 15.54 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/3.076, allocations: 7.854 MB / 1.79 GB, free: 7.219 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01298/3.089, allocations: 0.7404 MB / 1.791 GB, free: 6.484 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/3.091, allocations: 271.8 kB / 1.791 GB, free: 6.219 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/3.091, allocations: 4 kB / 1.791 GB, free: 6.215 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01978/3.11, allocations: 6.848 MB / 1.798 GB, free: 15.27 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/3.111, allocations: 47.98 kB / 1.798 GB, free: 15.22 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008721/3.119, allocations: 1.705 MB / 1.8 GB, free: 13.51 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/3.125, allocations: 1.158 MB / 1.801 GB, free: 12.35 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/3.141, allocations: 9.824 MB / 1.81 GB, free: 1.969 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/3.153, allocations: 0.712 MB / 1.811 GB, free: 1.258 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001981/3.156, allocations: 263.9 kB / 1.811 GB, free: 1 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.008441/3.164, allocations: 2.253 MB / 1.813 GB, free: 14.73 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004112/3.168, allocations: 0.8874 MB / 1.814 GB, free: 13.84 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/3.184, allocations: 5.995 MB / 1.82 GB, free: 7.789 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009547/3.194, allocations: 4.439 MB / 1.825 GB, free: 3.309 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/3.194, allocations: 6.297 kB / 1.825 GB, free: 3.305 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007423/3.201, allocations: 1.645 MB / 1.826 GB, free: 1.629 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004839/3.206, allocations: 88 kB / 1.826 GB, free: 1.543 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01267/3.219, allocations: 0.616 MB / 1.827 GB, free: 0.9258 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001993/3.221, allocations: 315 kB / 1.827 GB, free: 0.6172 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01752/3.238, allocations: 5.619 MB / 1.833 GB, free: 11.04 MB / 1.135 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01786/3.256, allocations: 7.626 MB / 1.84 GB, free: 3.355 MB / 1.135 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004015/3.26, allocations: 2.065 MB / 1.842 GB, free: 1.285 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01539/3.276, allocations: 5.32 MB / 1.847 GB, free: 11.99 MB / 1.151 GB Notification: Performance of Backend: time 1.623e-06/3.276, allocations: 3.938 kB / 1.847 GB, free: 11.99 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.04372/3.319, allocations: 11.22 MB / 1.858 GB, free: 1.121 MB / 1.151 GB Notification: Performance of SimCode: time 1.073/4.393, allocations: 24.97 MB / 1.883 GB, free: 0.5011 GB / 1.151 GB Notification: Performance of Templates: time 0.3069/4.7, allocations: 199.1 MB / 2.077 GB, free: 350.8 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1)