Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3.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.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3") translateModel(Buildings.Examples.Tutorial.CDL.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, 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.0009693/0.0009693, allocations: 172.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.65/1.65, allocations: 205 MB / 0.5767 GB, free: 20.96 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.0008213/0.0008213, allocations: 87.56 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 8.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System3): time 1.502/1.718, allocations: 0.5076 GB / 1.404 GB, free: 18.18 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.1114/1.829, allocations: 73.88 MB / 1.476 GB, free: 17.04 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0216/1.851, allocations: 381.2 kB / 1.477 GB, free: 17.04 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01743/1.868, allocations: 4.261 MB / 1.481 GB, free: 16.95 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.0401/1.909, allocations: 12.41 MB / 1.493 GB, free: 16.38 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02969/1.938, allocations: 10.56 MB / 1.503 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.04654/1.985, allocations: 41.45 MB / 1.544 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0174/2.002, allocations: 9.7 MB / 1.553 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02595/2.028, allocations: 9.779 MB / 1.563 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0198/2.048, allocations: 8.602 MB / 1.571 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.004837/2.053, allocations: 416 kB / 1.572 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02199/2.075, allocations: 5.573 MB / 1.577 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.006072/2.081, allocations: 2.467 MB / 1.58 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01603/2.097, allocations: 5.81 MB / 1.585 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.03631/2.134, allocations: 18.59 MB / 1.603 GB, free: 9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/2.134, allocations: 4 kB / 1.603 GB, free: 8.996 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.295e-06/2.134, allocations: 0 / 1.603 GB, free: 8.996 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007262/2.134, allocations: 0 / 1.603 GB, free: 8.996 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: 1856 * Number of variables: 1856 Notification: Performance of Generate backend data structure: time 0.02907/2.163, allocations: 10.97 MB / 1.614 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/2.164, allocations: 12.03 kB / 1.614 GB, free: 14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/2.175, allocations: 2.069 MB / 1.616 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02421/2.199, allocations: 10.28 MB / 1.626 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006777/2.2, allocations: 0.5684 MB / 1.627 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002565/2.203, allocations: 0.766 MB / 1.628 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02225/2.225, allocations: 8.641 MB / 1.636 GB, free: 7.543 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003646/2.225, allocations: 19.78 kB / 1.636 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/2.227, allocations: 310.5 kB / 1.636 GB, free: 7.223 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000271/2.227, allocations: 297.7 kB / 1.637 GB, free: 6.93 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/2.245, allocations: 7.096 MB / 1.643 GB, free: 15.82 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.0732/2.318, allocations: 41.36 MB / 1.684 GB, free: 3.992 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/2.327, allocations: 4.66 MB / 1.688 GB, free: 15.28 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00477/2.332, allocations: 2.407 MB / 1.691 GB, free: 12.88 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.02723/2.359, allocations: 10.29 MB / 1.701 GB, free: 2.203 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005846/2.365, allocations: 2.456 MB / 1.703 GB, free: 15.71 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004569/2.37, allocations: 475.1 kB / 1.704 GB, free: 15.24 MB / 1.057 GB Notification: Performance of pre-optimization done (n=402): time 1.445e-05/2.37, allocations: 0 / 1.704 GB, free: 15.24 MB / 1.057 GB Notification: Performance of matching and sorting (n=411): time 0.04485/2.415, allocations: 14.88 MB / 1.718 GB, free: 104 kB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002926/2.415, allocations: 0.5786 MB / 1.719 GB, free: 15.39 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01688/2.432, allocations: 8.278 MB / 1.727 GB, free: 7.141 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/2.433, allocations: 133.7 kB / 1.727 GB, free: 7.004 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005145/2.438, allocations: 5.061 MB / 1.732 GB, free: 1.93 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002013/2.44, allocations: 1.428 MB / 1.733 GB, free: 0.5156 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/2.442, allocations: 490.3 kB / 1.734 GB, free: 32 kB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001139/2.442, allocations: 305.1 kB / 1.734 GB, free: 15.73 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005479/2.447, allocations: 2.272 MB / 1.736 GB, free: 13.45 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008028/2.455, allocations: 4.084 MB / 1.74 GB, free: 8.609 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/2.468, allocations: 5.956 MB / 1.746 GB, free: 2.043 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.014e-05/2.468, allocations: 12 kB / 1.746 GB, free: 2.031 MB / 1.089 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02441/2.493, allocations: 8.146 MB / 1.754 GB, free: 9.781 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/2.494, allocations: 1.293 MB / 1.755 GB, free: 7.926 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.776e-05/2.494, allocations: 47.98 kB / 1.755 GB, free: 7.879 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009195/2.503, allocations: 1.881 MB / 1.757 GB, free: 5.988 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/2.508, allocations: 1.232 MB / 1.758 GB, free: 4.754 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/2.52, allocations: 7.993 MB / 1.766 GB, free: 12.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009899/2.53, allocations: 0.754 MB / 1.767 GB, free: 11.55 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/2.531, allocations: 275.9 kB / 1.767 GB, free: 11.28 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/2.531, allocations: 8 kB / 1.767 GB, free: 11.27 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0183/2.55, allocations: 6.812 MB / 1.774 GB, free: 4.363 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/2.55, allocations: 44 kB / 1.774 GB, free: 4.32 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007843/2.558, allocations: 1.736 MB / 1.776 GB, free: 2.57 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004862/2.563, allocations: 1.178 MB / 1.777 GB, free: 1.391 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/2.577, allocations: 9.915 MB / 1.786 GB, free: 6.934 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0088/2.586, allocations: 0.717 MB / 1.787 GB, free: 6.219 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/2.587, allocations: 271.8 kB / 1.787 GB, free: 5.953 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,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 (665): * Single equations (assignments): 649 * 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 {(5,6), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.006568/2.594, allocations: 2.286 MB / 1.79 GB, free: 3.66 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003078/2.597, allocations: 0.9105 MB / 1.791 GB, free: 2.738 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7197/3.316, allocations: 6.148 MB / 1.797 GB, free: 0.5393 GB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008676/3.325, allocations: 4.567 MB / 1.801 GB, free: 0.539 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/3.325, allocations: 0.7812 kB / 1.801 GB, free: 0.539 GB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005135/3.33, allocations: 1.523 MB / 1.802 GB, free: 0.5389 GB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002272/3.333, allocations: 94.47 kB / 1.803 GB, free: 0.5389 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006481/3.339, allocations: 0.6135 MB / 1.803 GB, free: 0.5389 GB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007759/3.34, allocations: 323.6 kB / 1.803 GB, free: 0.5389 GB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01315/3.353, allocations: 5.77 MB / 1.809 GB, free: 0.5384 GB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01343/3.367, allocations: 7.856 MB / 1.817 GB, free: 0.5357 GB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003133/3.37, allocations: 2.136 MB / 1.819 GB, free: 0.5349 GB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01121/3.381, allocations: 5.491 MB / 1.824 GB, free: 0.533 GB / 1.136 GB Notification: Performance of Backend: time 8.62e-07/3.381, allocations: 2.031 kB / 1.824 GB, free: 0.533 GB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.02813/3.409, allocations: 11.56 MB / 1.836 GB, free: 0.5292 GB / 1.136 GB Notification: Performance of SimCode: time 0.0399/3.449, allocations: 26.05 MB / 1.861 GB, free: 0.5159 GB / 1.136 GB Notification: Performance of Templates: time 0.2509/3.7, allocations: 201.9 MB / 2.058 GB, free: 327.4 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1)