Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 288.4 MB / 304.3 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009351/0.0009352, allocations: 187.2 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 0.6316 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007464/0.0007464, allocations: 90.25 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 11.97 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1702, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.05287/0.2231, allocations: 58.46 MB / 1.038 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.5625/0.7857, allocations: 145.4 MB / 1.18 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.7881, allocations: 48.56 kB / 1.18 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.79, allocations: 476.8 kB / 1.18 GB, free: 2.668 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.008008/0.7981, allocations: 2.652 MB / 1.183 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006797/0.8049, allocations: 2.098 MB / 1.185 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01386/0.8188, allocations: 13.92 MB / 1.199 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007797/0.8266, allocations: 5.27 MB / 1.204 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01326/0.8399, allocations: 6.642 MB / 1.21 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005691/0.8456, allocations: 3.177 MB / 1.213 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0009651/0.8466, allocations: 184 kB / 1.213 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009398/0.856, allocations: 4.049 MB / 1.217 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002347/0.8584, allocations: 0.9724 MB / 1.218 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.004369/0.8628, allocations: 2.4 MB / 1.221 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.009073/0.8719, allocations: 7.735 MB / 1.228 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8719, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8719, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001558/0.8721, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.009724/0.8818, allocations: 5.128 MB / 1.233 GB, free: 6.023 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.8819, allocations: 12.03 kB / 1.233 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.8937, allocations: 1.766 MB / 1.235 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.9057, allocations: 6.073 MB / 1.241 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.906, allocations: 300 kB / 1.241 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.9072, allocations: 400 kB / 1.242 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.9184, allocations: 5.921 MB / 1.247 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.97e-05/0.9185, allocations: 7.938 kB / 1.247 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.919, allocations: 176 kB / 1.248 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.9191, allocations: 163.8 kB / 1.248 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.9316, allocations: 5.682 MB / 1.253 GB, free: 1.285 MB / 0.7761 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.03342/0.965, allocations: 20.7 MB / 1.273 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008346/0.9734, allocations: 3.844 MB / 1.277 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004013/0.9775, allocations: 1.928 MB / 1.279 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003133/0.9806, allocations: 2.988 MB / 1.282 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00461/0.9853, allocations: 2.15 MB / 1.284 GB, free: 236 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=284): time 5.4e-06/0.9853, allocations: 0 / 1.284 GB, free: 236 kB / 0.8073 GB Notification: Performance of matching and sorting (n=284): time 0.01627/1.002, allocations: 6.878 MB / 1.291 GB, free: 9.121 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.002, allocations: 243.8 kB / 1.291 GB, free: 8.832 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/1.007, allocations: 3.461 MB / 1.294 GB, free: 5.387 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004484/1.007, allocations: 81.7 kB / 1.294 GB, free: 5.301 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001891/1.009, allocations: 2.019 MB / 1.296 GB, free: 3.262 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.01, allocations: 0.9665 MB / 1.297 GB, free: 2.281 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/1.011, allocations: 64 kB / 1.297 GB, free: 2.219 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.011, allocations: 440.2 kB / 1.298 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003632/1.014, allocations: 1.618 MB / 1.299 GB, free: 164 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00402/1.018, allocations: 2.251 MB / 1.302 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007747/1.026, allocations: 3.987 MB / 1.306 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.026, allocations: 4 kB / 1.306 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01003/1.036, allocations: 4.548 MB / 1.31 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003373/1.037, allocations: 0.5435 MB / 1.311 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.037, allocations: 16 kB / 1.311 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/1.037, allocations: 108.7 kB / 1.311 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/1.042, allocations: 0.8074 MB / 1.311 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/1.044, allocations: 2.158 MB / 1.314 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/1.049, allocations: 0.4982 MB / 1.314 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006883/1.05, allocations: 167.9 kB / 1.314 GB, free: 188 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/1.05, allocations: 9.812 kB / 1.314 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009299/1.059, allocations: 4.199 MB / 1.318 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/1.059, allocations: 16 kB / 1.318 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/1.059, allocations: 116.9 kB / 1.318 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/1.063, allocations: 0.784 MB / 1.319 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/1.065, allocations: 1.575 MB / 1.321 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/1.07, allocations: 469.1 kB / 1.321 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/1.07, allocations: 167.9 kB / 1.321 GB, free: 8.68 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (387): * Single equations (assignments): 385 * 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.003205/1.073, allocations: 1.56 MB / 1.323 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.074, allocations: 391.2 kB / 1.323 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/1.087, allocations: 5.062 MB / 1.328 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009425/1.096, allocations: 4.097 MB / 1.332 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.096, allocations: 3.984 kB / 1.332 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/1.099, allocations: 1.026 MB / 1.333 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007548/1.1, allocations: 63.94 kB / 1.333 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00354/1.103, allocations: 310.2 kB / 1.334 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004595/1.104, allocations: 222 kB / 1.334 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01172/1.115, allocations: 4.729 MB / 1.338 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01251/1.128, allocations: 6.332 MB / 1.345 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003769/1.132, allocations: 1.881 MB / 1.346 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004125/1.136, allocations: 2.437 MB / 1.349 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of Backend: time 9.62e-07/1.136, allocations: 0 / 1.349 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01528/1.151, allocations: 6.279 MB / 1.355 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of SimCode: time 0.02033/1.172, allocations: 12.28 MB / 1.367 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of Templates: time 0.5167/1.688, allocations: 103.5 MB / 1.468 GB, free: 347.3 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)