Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1") translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.4/2.4, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001371/0.00137, allocations: 178.4 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.4 MB / 0.5772 GB, free: 21.16 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.0009434/0.0009427, allocations: 87.47 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005038, allocations: 10.59 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System1): time 1.388/1.6, allocations: 481.8 MB / 1.37 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.963/2.563, allocations: 68.76 MB / 1.437 GB, free: 20.78 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0184/2.582, allocations: 359 kB / 1.438 GB, free: 20.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01758/2.599, allocations: 3.518 MB / 1.441 GB, free: 20.71 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.04662/2.646, allocations: 10.54 MB / 1.451 GB, free: 20.24 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03846/2.684, allocations: 8.566 MB / 1.46 GB, free: 19.92 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.05853/2.743, allocations: 35.17 MB / 1.494 GB, free: 19.84 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02738/2.77, allocations: 9.154 MB / 1.503 GB, free: 18.29 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03021/2.801, allocations: 9.233 MB / 1.512 GB, free: 17.03 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02248/2.823, allocations: 8.033 MB / 1.52 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.005074/2.828, allocations: 413.6 kB / 1.52 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/2.851, allocations: 3.936 MB / 1.524 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.006882/2.858, allocations: 2.312 MB / 1.526 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.008/2.866, allocations: 2.371 MB / 1.529 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02802/2.894, allocations: 14.42 MB / 1.543 GB, free: 3.68 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/2.894, allocations: 0 / 1.543 GB, free: 3.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.647e-06/2.894, allocations: 0 / 1.543 GB, free: 3.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000734/2.895, allocations: 0 / 1.543 GB, free: 3.68 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1796 * Number of variables: 1796 Notification: Performance of Generate backend data structure: time 0.03826/2.933, allocations: 10.86 MB / 1.553 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/2.933, allocations: 8.031 kB / 1.553 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/2.951, allocations: 2.044 MB / 1.555 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03689/2.988, allocations: 9.788 MB / 1.565 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008988/2.989, allocations: 0.5616 MB / 1.565 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003232/2.992, allocations: 0.7408 MB / 1.566 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/3.024, allocations: 8.345 MB / 1.574 GB, free: 13.23 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004201/3.025, allocations: 23.14 kB / 1.574 GB, free: 13.21 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002313/3.027, allocations: 303.3 kB / 1.575 GB, free: 13.14 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004103/3.028, allocations: 275.9 kB / 1.575 GB, free: 12.87 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/3.054, allocations: 6.857 MB / 1.582 GB, free: 8.203 MB / 0.9324 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.1004/3.154, allocations: 40.37 MB / 1.621 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/3.168, allocations: 4.619 MB / 1.625 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007575/3.176, allocations: 2.322 MB / 1.628 GB, free: 0.5391 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 evalFunc (simulation): time 0.03866/3.215, allocations: 10.11 MB / 1.638 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007294/3.222, allocations: 2.388 MB / 1.64 GB, free: 7.203 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006043/3.228, allocations: 446.2 kB / 1.64 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=390): time 1.886e-05/3.228, allocations: 0 / 1.64 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of matching and sorting (n=399): time 0.06637/3.295, allocations: 14.47 MB / 1.654 GB, free: 11.48 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003561/3.295, allocations: 0.5513 MB / 1.655 GB, free: 10.81 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02356/3.318, allocations: 8.037 MB / 1.663 GB, free: 4.992 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.001942/3.321, allocations: 123.9 kB / 1.663 GB, free: 4.934 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01143/3.332, allocations: 4.909 MB / 1.668 GB, free: 2.375 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004101/3.336, allocations: 1.382 MB / 1.669 GB, free: 1.195 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/3.338, allocations: 112.8 kB / 1.669 GB, free: 1.172 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0008767/3.339, allocations: 0.5073 MB / 1.67 GB, free: 0.7461 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01348/3.352, allocations: 2.109 MB / 1.672 GB, free: 15.35 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01742/3.37, allocations: 3.879 MB / 1.676 GB, free: 11.6 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/3.385, allocations: 2.696 MB / 1.678 GB, free: 9.891 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/3.386, allocations: 12 kB / 1.678 GB, free: 9.879 MB / 1.01 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.0591/3.445, allocations: 7.916 MB / 1.686 GB, free: 3.809 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001851/3.447, allocations: 1.279 MB / 1.687 GB, free: 2.105 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/3.447, allocations: 44 kB / 1.687 GB, free: 2.062 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0231/3.47, allocations: 1.86 MB / 1.689 GB, free: 380 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/3.481, allocations: 1.198 MB / 1.69 GB, free: 15.21 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/3.498, allocations: 7.842 MB / 1.698 GB, free: 7.793 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01567/3.514, allocations: 0.7492 MB / 1.699 GB, free: 7.141 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/3.515, allocations: 266.8 kB / 1.699 GB, free: 6.922 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/3.516, allocations: 4 kB / 1.699 GB, free: 6.918 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0337/3.549, allocations: 6.831 MB / 1.706 GB, free: 2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/3.549, allocations: 47.98 kB / 1.706 GB, free: 1.953 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/3.566, allocations: 1.711 MB / 1.707 GB, free: 420 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009591/3.575, allocations: 1.152 MB / 1.708 GB, free: 15.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/3.599, allocations: 9.818 MB / 1.718 GB, free: 6.574 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01422/3.613, allocations: 0.7132 MB / 1.719 GB, free: 5.949 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/3.615, allocations: 258.3 kB / 1.719 GB, free: 5.742 MB / 1.042 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.01097/3.626, allocations: 2.254 MB / 1.721 GB, free: 4.41 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005887/3.631, allocations: 0.8886 MB / 1.722 GB, free: 3.512 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03731/3.669, allocations: 6.014 MB / 1.728 GB, free: 15.32 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01799/3.687, allocations: 4.432 MB / 1.732 GB, free: 12.25 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-05/3.687, allocations: 3.938 kB / 1.732 GB, free: 12.25 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007725/3.695, allocations: 1.616 MB / 1.734 GB, free: 10.89 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003777/3.699, allocations: 95.98 kB / 1.734 GB, free: 10.8 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01288/3.711, allocations: 0.6121 MB / 1.734 GB, free: 10.19 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/3.713, allocations: 315 kB / 1.735 GB, free: 9.879 MB / 1.057 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0262/3.739, allocations: 5.612 MB / 1.74 GB, free: 4.305 MB / 1.057 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02708/3.766, allocations: 7.61 MB / 1.748 GB, free: 12.64 MB / 1.073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006883/3.773, allocations: 2.054 MB / 1.75 GB, free: 10.59 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01647/3.79, allocations: 5.296 MB / 1.755 GB, free: 5.316 MB / 1.073 GB Notification: Performance of Backend: time 9.02e-07/3.79, allocations: 2.188 kB / 1.755 GB, free: 5.316 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.05042/3.84, allocations: 11.06 MB / 1.766 GB, free: 10.68 MB / 1.089 GB Notification: Performance of SimCode: time 0.08703/3.927, allocations: 24.97 MB / 1.79 GB, free: 1.773 MB / 1.104 GB Notification: Performance of Templates: time 1.764/5.691, allocations: 195.4 MB / 1.981 GB, free: 394 MB / 1.12 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1)