Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.09/2.09, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001476/0.001476, allocations: 179.4 kB / 326.2 MB, free: 2.844 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.292/2.292, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.001098/0.001098, allocations: 96.42 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 12.91 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Concentrating): time 0.05555/0.2531, allocations: 33.61 MB / 0.9323 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8733/1.126, allocations: 145.5 MB / 1.074 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003685/1.13, allocations: 49.44 kB / 1.074 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/1.134, allocations: 496 kB / 1.075 GB, free: 3.531 MB / 0.698 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.006635/1.14, allocations: 1.43 MB / 1.076 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007014/1.147, allocations: 1.522 MB / 1.078 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02085/1.168, allocations: 13.41 MB / 1.091 GB, free: 3.371 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/1.18, allocations: 4.939 MB / 1.096 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008755/1.188, allocations: 3.141 MB / 1.099 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007612/1.196, allocations: 3.096 MB / 1.102 GB, free: 18.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001601/1.198, allocations: 174.8 kB / 1.102 GB, free: 18.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006201/1.204, allocations: 1.124 MB / 1.103 GB, free: 18.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002426/1.206, allocations: 0.926 MB / 1.104 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002831/1.209, allocations: 1.031 MB / 1.105 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/1.22, allocations: 6.839 MB / 1.112 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.22, allocations: 0 / 1.112 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.425e-06/1.22, allocations: 1.844 kB / 1.112 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000278/1.221, allocations: 0 / 1.112 GB, free: 16.55 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01879/1.239, allocations: 4.937 MB / 1.117 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.239, allocations: 8.594 kB / 1.117 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/1.26, allocations: 1.296 MB / 1.118 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02544/1.286, allocations: 5.048 MB / 1.123 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005315/1.286, allocations: 298.9 kB / 1.123 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002365/1.288, allocations: 399.2 kB / 1.123 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03124/1.32, allocations: 5.723 MB / 1.129 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002839/1.32, allocations: 14.25 kB / 1.129 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001867/1.322, allocations: 171.3 kB / 1.129 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003564/1.322, allocations: 181.8 kB / 1.129 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/1.353, allocations: 5.503 MB / 1.135 GB, free: 8.203 MB / 0.7136 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.05195/1.405, allocations: 20.09 MB / 1.154 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/1.419, allocations: 3.583 MB / 1.158 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007315/1.427, allocations: 1.881 MB / 1.16 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004108/1.431, allocations: 1.933 MB / 1.162 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008314/1.439, allocations: 2.022 MB / 1.164 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=266): time 7.975e-06/1.439, allocations: 0 / 1.164 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=266): time 0.02492/1.464, allocations: 5.047 MB / 1.168 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/1.464, allocations: 243 kB / 1.169 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.475, allocations: 3.392 MB / 1.172 GB, free: 108 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/1.476, allocations: 78.02 kB / 1.172 GB, free: 60 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004327/1.48, allocations: 2.027 MB / 1.174 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002918/1.483, allocations: 0.9091 MB / 1.175 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007445/1.484, allocations: 67.94 kB / 1.175 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000639/1.485, allocations: 426.3 kB / 1.175 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01102/1.496, allocations: 1.531 MB / 1.177 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0121/1.508, allocations: 2.202 MB / 1.179 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/1.52, allocations: 1.87 MB / 1.181 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/1.52, allocations: 4 kB / 1.181 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02535/1.545, allocations: 4.351 MB / 1.185 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005608/1.546, allocations: 0.6054 MB / 1.186 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-05/1.546, allocations: 19.98 kB / 1.186 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.547, allocations: 107.2 kB / 1.186 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008044/1.555, allocations: 0.7689 MB / 1.187 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/1.559, allocations: 2.163 MB / 1.189 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007612/1.567, allocations: 464.4 kB / 1.189 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001886/1.569, allocations: 144.8 kB / 1.189 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.569, allocations: 5.75 kB / 1.189 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01826/1.587, allocations: 4.008 MB / 1.193 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.526e-05/1.587, allocations: 16 kB / 1.193 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/1.588, allocations: 116.2 kB / 1.193 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007674/1.596, allocations: 0.7495 MB / 1.194 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/1.599, allocations: 1.575 MB / 1.196 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007228/1.607, allocations: 438.5 kB / 1.196 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009929/1.608, allocations: 152.2 kB / 1.196 GB, free: 12.24 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$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 (374): * Single equations (assignments): 372 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005/1.613, allocations: 1.533 MB / 1.198 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/1.614, allocations: 383.3 kB / 1.198 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/1.637, allocations: 4.333 MB / 1.202 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0153/1.652, allocations: 3.471 MB / 1.206 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/1.652, allocations: 4 kB / 1.206 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003969/1.656, allocations: 0.9659 MB / 1.207 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001914/1.658, allocations: 56.98 kB / 1.207 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007312/1.666, allocations: 297.5 kB / 1.207 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008977/1.667, allocations: 175.2 kB / 1.207 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02055/1.687, allocations: 4.062 MB / 1.211 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02489/1.712, allocations: 6.235 MB / 1.217 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006907/1.719, allocations: 1.776 MB / 1.219 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.007148/1.726, allocations: 2.381 MB / 1.221 GB, free: 10 MB / 0.7761 GB Notification: Performance of Backend: time 1.293e-06/1.726, allocations: 0 / 1.221 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02592/1.752, allocations: 5.564 MB / 1.227 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of SimCode: time 0.03784/1.79, allocations: 11.94 MB / 1.238 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of Templates: time 0.27/2.06, allocations: 94.43 MB / 1.331 GB, free: 12.93 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)