Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.549/1.549, allocations: 287.4 MB / 303.2 MB, free: 8.312 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.0009521/0.0009519, allocations: 174.8 kB / 371.8 MB, free: 10.82 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.284/1.284, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0007379/0.000738, allocations: 98.11 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 20.39 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.03767/0.1953, allocations: 49.9 MB / 1.028 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.5145/0.7099, allocations: 152.5 MB / 1.177 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003487/0.7134, allocations: 81.66 kB / 1.177 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.7159, allocations: 0.7757 MB / 1.178 GB, free: 6.227 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.007252/0.7232, allocations: 2.257 MB / 1.18 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005891/0.7291, allocations: 1.911 MB / 1.182 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.06001/0.7891, allocations: 72.89 MB / 1.253 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03531/0.8245, allocations: 25.86 MB / 1.278 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02804/0.8525, allocations: 15.7 MB / 1.294 GB, free: 9.793 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02583/0.8784, allocations: 15.95 MB / 1.309 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.005266/0.8837, allocations: 0.8516 MB / 1.31 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/0.899, allocations: 1.955 MB / 1.312 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.009873/0.9089, allocations: 4.466 MB / 1.316 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.009946/0.9189, allocations: 4.873 MB / 1.321 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.033/0.9519, allocations: 32.27 MB / 1.353 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9519, allocations: 0 / 1.353 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.606e-06/0.952, allocations: 0 / 1.353 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001051/0.953, allocations: 3.938 kB / 1.353 GB, free: 13.24 MB / 0.8855 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.04566/0.9987, allocations: 21.38 MB / 1.373 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.9987, allocations: 8.031 kB / 1.373 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02231/1.021, allocations: 4.284 MB / 1.378 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0532/1.074, allocations: 27.83 MB / 1.405 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009903/1.075, allocations: 1.28 MB / 1.406 GB, free: 6.184 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00467/1.08, allocations: 1.726 MB / 1.408 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7193/1.799, allocations: 27.68 MB / 1.435 GB, free: 299.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004675/1.8, allocations: 70.23 kB / 1.435 GB, free: 299.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002814/1.803, allocations: 0.7391 MB / 1.436 GB, free: 299.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009408/1.804, allocations: 0.8978 MB / 1.436 GB, free: 299.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05582/1.859, allocations: 24.46 MB / 1.46 GB, free: 291.5 MB / 0.948 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.1297/1.989, allocations: 99.67 MB / 1.558 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0244/2.014, allocations: 16.01 MB / 1.573 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01386/2.027, allocations: 8.709 MB / 1.582 GB, free: 191 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/2.03, allocations: 2.1 MB / 1.584 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01433/2.044, allocations: 8.261 MB / 1.592 GB, free: 180.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1035): time 1.558e-05/2.044, allocations: 4 kB / 1.592 GB, free: 180.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=1035): time 0.03837/2.082, allocations: 20.79 MB / 1.612 GB, free: 159.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/2.083, allocations: 373 kB / 1.613 GB, free: 159 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02081/2.103, allocations: 16.25 MB / 1.628 GB, free: 142.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002227/2.106, allocations: 241.7 kB / 1.629 GB, free: 142.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007111/2.113, allocations: 9.845 MB / 1.638 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003719/2.117, allocations: 3.611 MB / 1.642 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008121/2.117, allocations: 260 kB / 1.642 GB, free: 128.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004956/2.118, allocations: 0.8435 MB / 1.643 GB, free: 128.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/2.13, allocations: 7.016 MB / 1.65 GB, free: 121.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01599/2.146, allocations: 10.67 MB / 1.66 GB, free: 108.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03036/2.177, allocations: 18.63 MB / 1.678 GB, free: 88.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/2.177, allocations: 28 kB / 1.678 GB, free: 88.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=1666) (initialization): time 0.0389/2.216, allocations: 19.78 MB / 1.698 GB, free: 68.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001314/2.217, allocations: 3.342 MB / 1.701 GB, free: 63.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/2.217, allocations: 108 kB / 1.701 GB, free: 63.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/2.217, allocations: 172 kB / 1.701 GB, free: 63.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01516/2.233, allocations: 3.296 MB / 1.704 GB, free: 60.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002841/2.233, allocations: 246.7 kB / 1.705 GB, free: 60.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01816/2.251, allocations: 1.958 MB / 1.707 GB, free: 58.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002447/2.254, allocations: 0.6364 MB / 1.707 GB, free: 57.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/2.254, allocations: 8 kB / 1.707 GB, free: 57.52 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03348/2.287, allocations: 18.33 MB / 1.725 GB, free: 39.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/2.287, allocations: 108 kB / 1.725 GB, free: 39.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/2.287, allocations: 176 kB / 1.725 GB, free: 38.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/2.302, allocations: 3.3 MB / 1.729 GB, free: 35.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002329/2.302, allocations: 243.2 kB / 1.729 GB, free: 35.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01575/2.318, allocations: 1.785 MB / 1.731 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002151/2.32, allocations: 0.6325 MB / 1.731 GB, free: 32.88 MB / 0.948 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 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled,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 (1666): * Single equations (assignments): 1666 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01282/2.333, allocations: 7.687 MB / 1.739 GB, free: 25.17 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003881/2.337, allocations: 1.683 MB / 1.74 GB, free: 23.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02975/2.367, allocations: 16.79 MB / 1.757 GB, free: 6.586 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0243/2.391, allocations: 13.32 MB / 1.77 GB, free: 9.164 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/2.391, allocations: 4 kB / 1.77 GB, free: 9.16 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01086/2.402, allocations: 3.894 MB / 1.774 GB, free: 5.223 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003988/2.406, allocations: 224 kB / 1.774 GB, free: 5.004 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01393/2.42, allocations: 1.219 MB / 1.775 GB, free: 3.797 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/2.421, allocations: 0.5814 MB / 1.776 GB, free: 3.211 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0374/2.459, allocations: 16.53 MB / 1.792 GB, free: 2.742 MB / 0.9793 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.7809/3.239, allocations: 26 MB / 1.817 GB, free: 305.2 MB / 0.9794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01372/3.253, allocations: 7.457 MB / 1.824 GB, free: 302.5 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.02055/3.274, allocations: 11.39 MB / 1.835 GB, free: 298.7 MB / 0.9794 GB Notification: Performance of Backend: time 7.72e-07/3.274, allocations: 0 / 1.835 GB, free: 298.7 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.04923/3.323, allocations: 21.32 MB / 1.856 GB, free: 292 MB / 0.9794 GB Notification: Performance of SimCode: time 0.09632/3.419, allocations: 56.51 MB / 1.911 GB, free: 250.3 MB / 0.9794 GB Notification: Performance of Templates: time 0.8954/4.315, allocations: 409.8 MB / 2.312 GB, free: 225.6 MB / 0.995 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)