Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6.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.CDL.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009268/0.0009268, allocations: 182.8 kB / 326.5 MB, free: 2.711 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.359/1.359, allocations: 205 MB / 0.5766 GB, free: 21 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.0007491/0.0007491, allocations: 83.08 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002813, allocations: 8.906 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System6): time 1.153/1.297, allocations: 0.5085 GB / 1.405 GB, free: 18.13 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.08334/1.38, allocations: 74.21 MB / 1.478 GB, free: 16.98 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01706/1.398, allocations: 387.2 kB / 1.478 GB, free: 16.98 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01401/1.412, allocations: 4.303 MB / 1.482 GB, free: 16.89 MB / 0.9011 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.03309/1.445, allocations: 12.44 MB / 1.494 GB, free: 16.33 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02555/1.47, allocations: 10.69 MB / 1.505 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.03995/1.51, allocations: 41.84 MB / 1.546 GB, free: 7.668 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01735/1.528, allocations: 9.955 MB / 1.555 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0241/1.552, allocations: 9.854 MB / 1.565 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01791/1.57, allocations: 8.719 MB / 1.574 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.003586/1.573, allocations: 432 kB / 1.574 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0194/1.593, allocations: 5.576 MB / 1.579 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.006328/1.599, allocations: 2.507 MB / 1.582 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.01435/1.614, allocations: 5.947 MB / 1.588 GB, free: 9 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.03287/1.646, allocations: 19.07 MB / 1.606 GB, free: 6.582 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.646, allocations: 3.984 kB / 1.606 GB, free: 6.578 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.124e-06/1.646, allocations: 0 / 1.606 GB, free: 6.578 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006117/1.647, allocations: 0 / 1.606 GB, free: 6.578 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: 1926 * Number of variables: 1926 Notification: Performance of Generate backend data structure: time 0.02372/1.671, allocations: 11.33 MB / 1.617 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.671, allocations: 8.031 kB / 1.617 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/1.682, allocations: 2.111 MB / 1.619 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02214/1.704, allocations: 10.45 MB / 1.63 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005314/1.704, allocations: 0.5994 MB / 1.63 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/1.706, allocations: 0.796 MB / 1.631 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/1.725, allocations: 8.916 MB / 1.64 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/1.725, allocations: 19.88 kB / 1.64 GB, free: 4.215 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007927/1.726, allocations: 324.3 kB / 1.64 GB, free: 3.902 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/1.726, allocations: 298.3 kB / 1.64 GB, free: 3.609 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/1.741, allocations: 7.305 MB / 1.647 GB, free: 12.29 MB / 0.9948 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.06277/1.804, allocations: 42.37 MB / 1.689 GB, free: 15.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007905/1.812, allocations: 4.927 MB / 1.694 GB, free: 10.45 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004253/1.816, allocations: 2.526 MB / 1.696 GB, free: 7.934 MB / 1.042 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.02343/1.84, allocations: 10.58 MB / 1.706 GB, free: 12.98 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004511/1.844, allocations: 2.597 MB / 1.709 GB, free: 10.35 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00416/1.848, allocations: 467 kB / 1.709 GB, free: 9.891 MB / 1.057 GB Notification: Performance of pre-optimization done (n=428): time 1.403e-05/1.848, allocations: 0 / 1.709 GB, free: 9.891 MB / 1.057 GB Notification: Performance of matching and sorting (n=437): time 0.03841/1.887, allocations: 15.35 MB / 1.724 GB, free: 10.29 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002452/1.887, allocations: 0.6046 MB / 1.725 GB, free: 9.555 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.899, allocations: 8.429 MB / 1.733 GB, free: 1.16 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0009872/1.9, allocations: 137.1 kB / 1.733 GB, free: 1.023 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004697/1.904, allocations: 5.159 MB / 1.738 GB, free: 11.89 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/1.906, allocations: 1.507 MB / 1.74 GB, free: 10.39 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006933/1.907, allocations: 0.5177 MB / 1.74 GB, free: 9.867 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/1.907, allocations: 305.1 kB / 1.741 GB, free: 9.566 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004541/1.912, allocations: 2.346 MB / 1.743 GB, free: 7.215 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006202/1.918, allocations: 4.206 MB / 1.747 GB, free: 2.234 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009674/1.927, allocations: 6.135 MB / 1.753 GB, free: 11.48 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/1.928, allocations: 8 kB / 1.753 GB, free: 11.48 MB / 1.104 GB Notification: Performance of matching and sorting (n=759) (initialization): time 0.02001/1.948, allocations: 8.537 MB / 1.761 GB, free: 2.84 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007807/1.948, allocations: 1.309 MB / 1.763 GB, free: 0.957 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.566e-05/1.948, allocations: 47.98 kB / 1.763 GB, free: 0.9102 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008913/1.957, allocations: 1.865 MB / 1.765 GB, free: 15.04 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005165/1.963, allocations: 1.271 MB / 1.766 GB, free: 13.76 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009352/1.972, allocations: 7.849 MB / 1.773 GB, free: 5.453 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008509/1.98, allocations: 0.8072 MB / 1.774 GB, free: 4.652 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008201/1.981, allocations: 279.9 kB / 1.775 GB, free: 4.379 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/1.981, allocations: 4 kB / 1.775 GB, free: 4.375 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01566/1.997, allocations: 7.176 MB / 1.782 GB, free: 13.11 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/1.997, allocations: 48.95 kB / 1.782 GB, free: 13.06 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007926/2.005, allocations: 1.72 MB / 1.783 GB, free: 11.33 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/2.01, allocations: 1.217 MB / 1.784 GB, free: 10.11 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6758/2.686, allocations: 9.79 MB / 1.794 GB, free: 392 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008025/2.694, allocations: 0.7575 MB / 1.795 GB, free: 392 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006125/2.694, allocations: 273.1 kB / 1.795 GB, free: 392 MB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,boiSigCon.u,radPumCon.u,conEquSta.hys.y,$PRE.conEquSta.hys.y,conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal,conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 678 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00406/2.698, allocations: 2.338 MB / 1.797 GB, free: 391.8 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00212/2.701, allocations: 0.9278 MB / 1.798 GB, free: 391.8 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/2.713, allocations: 6.365 MB / 1.804 GB, free: 391.5 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008612/2.722, allocations: 4.74 MB / 1.809 GB, free: 391.3 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/2.722, allocations: 0 / 1.809 GB, free: 391.3 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003997/2.726, allocations: 1.563 MB / 1.811 GB, free: 391.2 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/2.728, allocations: 105.2 kB / 1.811 GB, free: 391.2 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006538/2.734, allocations: 0.6577 MB / 1.811 GB, free: 391.2 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007913/2.735, allocations: 350.6 kB / 1.812 GB, free: 391.2 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01253/2.747, allocations: 6.006 MB / 1.818 GB, free: 390.9 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01338/2.761, allocations: 8.173 MB / 1.826 GB, free: 390.4 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00303/2.764, allocations: 2.237 MB / 1.828 GB, free: 390.4 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.007898/2.772, allocations: 5.573 MB / 1.833 GB, free: 390.1 MB / 1.136 GB Notification: Performance of Backend: time 1.192e-06/2.772, allocations: 3.094 kB / 1.833 GB, free: 390.1 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.02664/2.799, allocations: 11.67 MB / 1.845 GB, free: 388.7 MB / 1.136 GB Notification: Performance of SimCode: time 0.03955/2.838, allocations: 26.63 MB / 1.871 GB, free: 377 MB / 1.136 GB Notification: Performance of Templates: time 0.2466/3.085, allocations: 206.6 MB / 2.072 GB, free: 196.1 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1)