Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 113.9 kB / 16.38 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 186.9 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 68.22 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1865, allocations: 114.6 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.3455/0.532, allocations: 54.42 MB / 0.8379 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.7049, allocations: 167.4 MB / 1.001 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003655/0.7086, allocations: 88.25 kB / 1.002 GB, free: 12.14 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.7117, allocations: 1.097 MB / 1.003 GB, free: 11.03 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007847/0.7196, allocations: 2.811 MB / 1.005 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006315/0.7259, allocations: 2.665 MB / 1.008 GB, free: 5.574 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.05743/0.7834, allocations: 67.33 MB / 1.074 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03777/0.8212, allocations: 32.68 MB / 1.106 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0374/0.8586, allocations: 22.18 MB / 1.127 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7451/1.604, allocations: 19.1 MB / 1.146 GB, free: 53.1 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.009483/1.613, allocations: 2.916 MB / 1.149 GB, free: 53.1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0183/1.632, allocations: 4.511 MB / 1.153 GB, free: 53.1 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01407/1.646, allocations: 7.286 MB / 1.16 GB, free: 53.1 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.03539/1.681, allocations: 14.54 MB / 1.174 GB, free: 52.29 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.04756/1.729, allocations: 41.1 MB / 1.215 GB, free: 47.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.729, allocations: 4.25 kB / 1.215 GB, free: 47.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/1.729, allocations: 0 / 1.215 GB, free: 47.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001221/1.73, allocations: 0.9688 kB / 1.215 GB, free: 47.73 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4629 * Number of variables: 4629 Notification: Performance of Generate backend data structure: time 0.06561/1.796, allocations: 26.64 MB / 1.241 GB, free: 36.71 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.796, allocations: 8.219 kB / 1.241 GB, free: 36.71 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02559/1.821, allocations: 4.166 MB / 1.245 GB, free: 34.81 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05174/1.873, allocations: 24.3 MB / 1.268 GB, free: 24.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/1.874, allocations: 1.282 MB / 1.27 GB, free: 23.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006951/1.881, allocations: 1.723 MB / 1.271 GB, free: 23.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06687/1.948, allocations: 27.76 MB / 1.298 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008278/1.949, allocations: 70.14 kB / 1.299 GB, free: 6.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006571/1.955, allocations: 0.7469 MB / 1.299 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008112/1.956, allocations: 0.8926 MB / 1.3 GB, free: 5.516 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06197/2.018, allocations: 24.47 MB / 1.324 GB, free: 13.5 MB / 0.9513 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.2456/2.264, allocations: 103.1 MB / 1.425 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04551/2.309, allocations: 16.07 MB / 1.44 GB, free: 4.207 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01925/2.329, allocations: 8.721 MB / 1.449 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003208/2.332, allocations: 2.069 MB / 1.451 GB, free: 9.051 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02191/2.354, allocations: 8.287 MB / 1.459 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1035): time 2.046e-05/2.354, allocations: 0 / 1.459 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of matching and sorting (n=1035): time 0.05932/2.413, allocations: 20.8 MB / 1.479 GB, free: 11.79 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000218/2.413, allocations: 369.1 kB / 1.48 GB, free: 11.36 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04197/2.455, allocations: 18.47 MB / 1.498 GB, free: 8.984 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.002844/2.458, allocations: 242.8 kB / 1.498 GB, free: 8.742 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.01457/2.473, allocations: 9.833 MB / 1.508 GB, free: 14.88 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.006447/2.479, allocations: 3.622 MB / 1.511 GB, free: 11.29 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009969/2.489, allocations: 2.638 MB / 1.514 GB, free: 8.637 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001019/2.489, allocations: 305.1 kB / 1.514 GB, free: 8.336 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01768/2.507, allocations: 7.209 MB / 1.521 GB, free: 1.105 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02161/2.529, allocations: 10.79 MB / 1.532 GB, free: 4.844 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03852/2.567, allocations: 18.75 MB / 1.55 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/2.567, allocations: 32 kB / 1.55 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of matching and sorting (n=1666) (initialization): time 0.4172/2.985, allocations: 20.03 MB / 1.569 GB, free: 475.8 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/2.985, allocations: 55.11 kB / 1.57 GB, free: 475.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/2.985, allocations: 105.8 kB / 1.57 GB, free: 475.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/2.985, allocations: 173.7 kB / 1.57 GB, free: 475.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01578/3.001, allocations: 3.286 MB / 1.573 GB, free: 475.8 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004617/3.002, allocations: 242.1 kB / 1.573 GB, free: 475.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01888/3.021, allocations: 1.989 MB / 1.575 GB, free: 475.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002647/3.023, allocations: 0.6297 MB / 1.576 GB, free: 475.7 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03058/3.054, allocations: 14.16 MB / 1.59 GB, free: 475.6 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02083/3.075, allocations: 10.79 MB / 1.6 GB, free: 468.9 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03779/3.113, allocations: 18.75 MB / 1.618 GB, free: 458.8 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002001/3.113, allocations: 31.78 kB / 1.619 GB, free: 458.8 MB / 1.17 GB Notification: Performance of matching and sorting (n=1666) (initialization_lambda0): time 0.05117/3.164, allocations: 20.02 MB / 1.638 GB, free: 452.3 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/3.164, allocations: 52.61 kB / 1.638 GB, free: 452.3 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001951/3.164, allocations: 104.3 kB / 1.638 GB, free: 452.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/3.165, allocations: 174.9 kB / 1.638 GB, free: 452.3 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01554/3.18, allocations: 3.284 MB / 1.642 GB, free: 452 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000332/3.18, allocations: 241.5 kB / 1.642 GB, free: 451.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01957/3.2, allocations: 1.598 MB / 1.643 GB, free: 451.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003409/3.203, allocations: 0.6328 MB / 1.644 GB, free: 451.5 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.datRea.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1666): * Single equations (assignments): 1666 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005866/3.209, allocations: 1.01 MB / 1.645 GB, free: 450.7 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006886/3.216, allocations: 1.682 MB / 1.647 GB, free: 449.8 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03673/3.253, allocations: 16.73 MB / 1.663 GB, free: 443.7 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02553/3.279, allocations: 13.34 MB / 1.676 GB, free: 432.9 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/3.279, allocations: 3.938 kB / 1.676 GB, free: 432.9 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01149/3.29, allocations: 4.16 MB / 1.68 GB, free: 429.3 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006005/3.296, allocations: 235.9 kB / 1.68 GB, free: 429 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01628/3.312, allocations: 0.9125 MB / 1.681 GB, free: 428.4 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/3.314, allocations: 0.5803 MB / 1.682 GB, free: 428.1 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04/3.354, allocations: 16.43 MB / 1.698 GB, free: 414.6 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04681/3.401, allocations: 26.02 MB / 1.723 GB, free: 388.4 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01271/3.414, allocations: 7.495 MB / 1.731 GB, free: 380.8 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.023/3.437, allocations: 13.08 MB / 1.743 GB, free: 367.9 MB / 1.17 GB Notification: Performance of Backend: time 7.62e-07/3.437, allocations: 0 / 1.743 GB, free: 367.9 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.05632/3.493, allocations: 21.59 MB / 1.764 GB, free: 346.9 MB / 1.17 GB Notification: Performance of SimCode: time 0.1061/3.599, allocations: 50.16 MB / 1.813 GB, free: 297.2 MB / 1.17 GB Notification: Performance of Templates: time 0.9354/4.535, allocations: 460.2 MB / 2.263 GB, free: 364.8 MB / 1.17 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)