Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008533/0.0008533, allocations: 175.5 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007316/0.0007317, allocations: 102.7 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004125, allocations: 10.03 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.8025/0.9927, allocations: 368.8 MB / 1.257 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.06108/1.054, allocations: 44.36 MB / 1.3 GB, free: 10.34 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008512/1.062, allocations: 159.1 kB / 1.3 GB, free: 10.19 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.009278/1.072, allocations: 2.476 MB / 1.303 GB, free: 7.699 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.02368/1.095, allocations: 7.959 MB / 1.311 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01615/1.112, allocations: 5.967 MB / 1.316 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.03877/1.15, allocations: 31.08 MB / 1.347 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01876/1.169, allocations: 9 MB / 1.356 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02163/1.191, allocations: 7.84 MB / 1.363 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/1.207, allocations: 6.768 MB / 1.37 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.002782/1.21, allocations: 356 kB / 1.37 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01991/1.23, allocations: 8.707 MB / 1.379 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.005002/1.235, allocations: 2.389 MB / 1.381 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01152/1.247, allocations: 4.826 MB / 1.386 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 1.053/2.3, allocations: 19.35 MB / 1.405 GB, free: 50.57 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/2.3, allocations: 0 / 1.405 GB, free: 50.57 MB / 0.9168 GB Notification: Performance of FrontEnd: time 2.665e-06/2.3, allocations: 0 / 1.405 GB, free: 50.57 MB / 0.9168 GB Notification: Performance of Transformations before backend: time 0.0005605/2.3, allocations: 0.6875 kB / 1.405 GB, free: 50.57 MB / 0.9168 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1757 * Number of variables: 1757 Notification: Performance of Generate backend data structure: time 0.02369/2.324, allocations: 9.259 MB / 1.414 GB, free: 47.18 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/2.324, allocations: 10.19 kB / 1.414 GB, free: 47.18 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/2.342, allocations: 2.732 MB / 1.416 GB, free: 46.64 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01994/2.362, allocations: 8.4 MB / 1.425 GB, free: 45.3 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001349/2.363, allocations: 0.7188 MB / 1.425 GB, free: 45.26 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002218/2.365, allocations: 0.6959 MB / 1.426 GB, free: 45.25 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02351/2.389, allocations: 9.716 MB / 1.435 GB, free: 44.58 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003022/2.389, allocations: 7 kB / 1.435 GB, free: 44.58 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001949/2.391, allocations: 287.4 kB / 1.436 GB, free: 44.58 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00041/2.392, allocations: 307.1 kB / 1.436 GB, free: 44.56 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/2.423, allocations: 9.253 MB / 1.445 GB, free: 44.45 MB / 0.9168 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.08668/2.51, allocations: 38.31 MB / 1.482 GB, free: 29.29 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/2.521, allocations: 5.446 MB / 1.488 GB, free: 29.17 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00622/2.528, allocations: 3.593 MB / 1.491 GB, free: 29.11 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/2.529, allocations: 1.022 MB / 1.492 GB, free: 28.16 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005754/2.535, allocations: 3.486 MB / 1.496 GB, free: 27.99 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004246/2.539, allocations: 387.2 kB / 1.496 GB, free: 27.79 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=453): time 1.892e-05/2.539, allocations: 0 / 1.496 GB, free: 27.79 MB / 0.9168 GB Notification: Performance of matching and sorting (n=457): time 0.0367/2.576, allocations: 16.63 MB / 1.512 GB, free: 25.32 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/2.576, allocations: 337.2 kB / 1.513 GB, free: 24.96 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009349/2.585, allocations: 6.641 MB / 1.519 GB, free: 24.51 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/2.586, allocations: 126.8 kB / 1.519 GB, free: 24.48 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.003024/2.589, allocations: 3.682 MB / 1.523 GB, free: 23.32 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.00262/2.592, allocations: 1.579 MB / 1.524 GB, free: 22.31 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007219/2.593, allocations: 423.5 kB / 1.525 GB, free: 22.29 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/2.593, allocations: 304.2 kB / 1.525 GB, free: 21.99 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004626/2.598, allocations: 2.815 MB / 1.528 GB, free: 21.95 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005499/2.603, allocations: 4.08 MB / 1.532 GB, free: 20.68 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/2.613, allocations: 6.803 MB / 1.538 GB, free: 18.86 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/2.613, allocations: 6.531 kB / 1.538 GB, free: 18.86 MB / 0.9168 GB Notification: Performance of matching and sorting (n=640) (initialization): time 0.01598/2.629, allocations: 7.832 MB / 1.546 GB, free: 13.29 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/2.629, allocations: 0.7668 MB / 1.547 GB, free: 12.29 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/2.63, allocations: 24 kB / 1.547 GB, free: 12.27 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/2.631, allocations: 314.6 kB / 1.547 GB, free: 12 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004945/2.636, allocations: 1.256 MB / 1.548 GB, free: 10.85 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/2.639, allocations: 4.932 MB / 1.553 GB, free: 6.223 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008307/2.648, allocations: 0.8257 MB / 1.554 GB, free: 5.48 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008736/2.648, allocations: 211.9 kB / 1.554 GB, free: 5.316 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/2.649, allocations: 7.938 kB / 1.554 GB, free: 5.309 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01229/2.661, allocations: 7.075 MB / 1.561 GB, free: 14.75 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-05/2.661, allocations: 24 kB / 1.561 GB, free: 14.73 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/2.662, allocations: 294 kB / 1.561 GB, free: 14.44 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005468/2.667, allocations: 1.221 MB / 1.563 GB, free: 13.28 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005354/2.673, allocations: 5.414 MB / 1.568 GB, free: 7.508 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008482/2.681, allocations: 0.8062 MB / 1.569 GB, free: 6.707 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009939/2.682, allocations: 210 kB / 1.569 GB, free: 6.508 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (619): * Single equations (assignments): 608 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.006169/2.689, allocations: 2.856 MB / 1.572 GB, free: 3.707 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002325/2.691, allocations: 0.6946 MB / 1.572 GB, free: 3.004 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/2.705, allocations: 7.362 MB / 1.58 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01137/2.717, allocations: 5.964 MB / 1.585 GB, free: 5.609 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/2.717, allocations: 0 / 1.585 GB, free: 5.609 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004881/2.722, allocations: 1.55 MB / 1.587 GB, free: 4.031 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/2.724, allocations: 104 kB / 1.587 GB, free: 3.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007395/2.731, allocations: 0.7113 MB / 1.588 GB, free: 3.223 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007669/2.732, allocations: 287.3 kB / 1.588 GB, free: 2.941 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01583/2.748, allocations: 7.166 MB / 1.595 GB, free: 11.83 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0178/2.766, allocations: 10.71 MB / 1.605 GB, free: 1.07 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004859/2.771, allocations: 3.037 MB / 1.608 GB, free: 14.03 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.007545/2.778, allocations: 4.623 MB / 1.613 GB, free: 9.434 MB / 0.9793 GB Notification: Performance of Backend: time 8.71e-07/2.778, allocations: 1.312 kB / 1.613 GB, free: 9.434 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.02498/2.803, allocations: 10.67 MB / 1.623 GB, free: 15.29 MB / 0.9949 GB Notification: Performance of SimCode: time 0.03923/2.843, allocations: 22.34 MB / 1.645 GB, free: 8.953 MB / 1.011 GB Notification: Performance of Templates: time 0.7157/3.558, allocations: 187.2 MB / 1.828 GB, free: 0.5617 GB / 1.167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)