Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1.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.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1") translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.523/1.523, allocations: 287.4 MB / 303.2 MB, free: 8.176 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.00094/0.0009404, allocations: 174 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.278/1.278, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0007672/0.0007672, allocations: 102.9 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 14.75 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System1): time 1.179/1.335, allocations: 481.8 MB / 1.45 GB, free: 48.92 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.08667/1.422, allocations: 68.89 MB / 1.517 GB, free: 47.71 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01294/1.435, allocations: 357.4 kB / 1.517 GB, free: 47.71 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01238/1.447, allocations: 3.528 MB / 1.521 GB, free: 47.64 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.03105/1.478, allocations: 10.53 MB / 1.531 GB, free: 47.18 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02504/1.503, allocations: 8.761 MB / 1.54 GB, free: 46.84 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.03659/1.54, allocations: 35.19 MB / 1.574 GB, free: 41.36 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0168/1.557, allocations: 9.524 MB / 1.583 GB, free: 37.86 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01894/1.576, allocations: 9.245 MB / 1.592 GB, free: 34.39 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01342/1.589, allocations: 8.051 MB / 1.6 GB, free: 31.23 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.003316/1.592, allocations: 416.7 kB / 1.601 GB, free: 31.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/1.607, allocations: 3.949 MB / 1.604 GB, free: 30.18 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.00425/1.612, allocations: 2.336 MB / 1.607 GB, free: 29.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.00535/1.617, allocations: 2.378 MB / 1.609 GB, free: 27.87 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01819/1.635, allocations: 14.51 MB / 1.623 GB, free: 15.65 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.635, allocations: 0 / 1.623 GB, free: 15.65 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.647e-06/1.635, allocations: 0 / 1.623 GB, free: 15.65 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006826/1.636, allocations: 3.938 kB / 1.623 GB, free: 15.65 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: 1794 * Number of variables: 1794 Notification: Performance of Generate backend data structure: time 0.02157/1.657, allocations: 10.75 MB / 1.634 GB, free: 5.824 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.658, allocations: 12.03 kB / 1.634 GB, free: 5.812 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009632/1.667, allocations: 2.047 MB / 1.636 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02017/1.687, allocations: 10.18 MB / 1.646 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005062/1.688, allocations: 0.5577 MB / 1.646 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/1.69, allocations: 0.7451 MB / 1.647 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/1.708, allocations: 8.4 MB / 1.655 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/1.708, allocations: 23.78 kB / 1.655 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007063/1.709, allocations: 299.8 kB / 1.655 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002424/1.709, allocations: 282 kB / 1.656 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/1.722, allocations: 6.86 MB / 1.662 GB, free: 0.6914 MB / 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.05434/1.776, allocations: 40.46 MB / 1.702 GB, free: 13.58 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006756/1.783, allocations: 4.632 MB / 1.706 GB, free: 10.46 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/1.787, allocations: 2.332 MB / 1.709 GB, free: 8.953 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.02031/1.807, allocations: 10.2 MB / 1.719 GB, free: 1.258 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004055/1.811, allocations: 2.451 MB / 1.721 GB, free: 15.52 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004025/1.815, allocations: 453.2 kB / 1.722 GB, free: 15.15 MB / 1.026 GB Notification: Performance of pre-optimization done (n=390): time 1.018e-05/1.815, allocations: 0 / 1.722 GB, free: 15.15 MB / 1.026 GB Notification: Performance of matching and sorting (n=399): time 0.03416/1.849, allocations: 14.55 MB / 1.736 GB, free: 0.582 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/1.849, allocations: 0.5519 MB / 1.736 GB, free: 15.91 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.861, allocations: 8.034 MB / 1.744 GB, free: 7.887 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006793/1.861, allocations: 129.7 kB / 1.744 GB, free: 7.754 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004154/1.865, allocations: 4.912 MB / 1.749 GB, free: 2.828 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.867, allocations: 1.386 MB / 1.75 GB, free: 1.453 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/1.867, allocations: 111.4 kB / 1.751 GB, free: 1.348 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002815/1.867, allocations: 0.5178 MB / 1.751 GB, free: 0.8242 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/1.872, allocations: 2.104 MB / 1.753 GB, free: 14.71 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005272/1.877, allocations: 3.883 MB / 1.757 GB, free: 10.09 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008705/1.886, allocations: 5.626 MB / 1.762 GB, free: 3.871 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/1.886, allocations: 15.94 kB / 1.762 GB, free: 3.855 MB / 1.057 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01884/1.905, allocations: 7.929 MB / 1.77 GB, free: 11.82 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007143/1.905, allocations: 1.267 MB / 1.771 GB, free: 9.996 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.767e-05/1.905, allocations: 43.98 kB / 1.771 GB, free: 9.953 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009264/1.915, allocations: 1.86 MB / 1.773 GB, free: 8.09 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004787/1.919, allocations: 1.201 MB / 1.774 GB, free: 6.891 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009795/1.929, allocations: 7.838 MB / 1.782 GB, free: 14.59 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008698/1.938, allocations: 0.7384 MB / 1.783 GB, free: 13.85 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005526/1.939, allocations: 267.9 kB / 1.783 GB, free: 13.59 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/1.939, allocations: 4 kB / 1.783 GB, free: 13.59 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0153/1.954, allocations: 6.835 MB / 1.79 GB, free: 6.652 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.069e-05/1.954, allocations: 40 kB / 1.79 GB, free: 6.613 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008401/1.962, allocations: 1.72 MB / 1.791 GB, free: 4.883 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00414/1.966, allocations: 1.154 MB / 1.793 GB, free: 3.727 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.98, allocations: 9.826 MB / 1.802 GB, free: 9.352 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00826/1.988, allocations: 0.7118 MB / 1.803 GB, free: 8.641 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005582/1.989, allocations: 251.9 kB / 1.803 GB, free: 8.395 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 (646): * Single equations (assignments): 630 * 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 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004704/1.993, allocations: 2.256 MB / 1.805 GB, free: 6.129 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/1.995, allocations: 0.8951 MB / 1.806 GB, free: 5.223 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/2.007, allocations: 6 MB / 1.812 GB, free: 15.17 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008155/2.015, allocations: 4.432 MB / 1.816 GB, free: 10.7 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/2.015, allocations: 0 / 1.816 GB, free: 10.7 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004128/2.019, allocations: 1.641 MB / 1.818 GB, free: 9.027 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/2.021, allocations: 99.98 kB / 1.818 GB, free: 8.93 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005335/2.026, allocations: 0.6041 MB / 1.819 GB, free: 8.324 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/2.027, allocations: 319 kB / 1.819 GB, free: 8.012 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01226/2.039, allocations: 5.617 MB / 1.824 GB, free: 2.434 MB / 1.12 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01252/2.051, allocations: 7.635 MB / 1.832 GB, free: 10.75 MB / 1.135 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003113/2.054, allocations: 2.054 MB / 1.834 GB, free: 8.691 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.008332/2.063, allocations: 5.3 MB / 1.839 GB, free: 3.418 MB / 1.135 GB Notification: Performance of Backend: time 7.41e-07/2.063, allocations: 4 kB / 1.839 GB, free: 3.414 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.02547/2.088, allocations: 11.06 MB / 1.85 GB, free: 8.82 MB / 1.151 GB Notification: Performance of SimCode: time 0.6978/2.786, allocations: 24.89 MB / 1.874 GB, free: 0.4992 GB / 1.151 GB Notification: Performance of Templates: time 0.2714/3.057, allocations: 196.9 MB / 2.066 GB, free: 358.8 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1)