Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.133/2.133, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001351/0.001351, allocations: 181.9 kB / 326.3 MB, free: 2.863 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.307/2.307, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009275/0.0009273, allocations: 88.17 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005502/0.0005503, allocations: 12.5 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.188, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.06998/0.258, allocations: 49.89 MB / 0.9482 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.942/1.2, allocations: 152.5 MB / 1.097 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004469/1.205, allocations: 81.56 kB / 1.097 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003864/1.208, allocations: 0.7748 MB / 1.098 GB, free: 0.6133 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.01015/1.219, allocations: 2.248 MB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00907/1.228, allocations: 1.886 MB / 1.102 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.1055/1.333, allocations: 72.69 MB / 1.173 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06083/1.394, allocations: 24.33 MB / 1.197 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04015/1.434, allocations: 15.6 MB / 1.212 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03793/1.472, allocations: 15.89 MB / 1.228 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.006991/1.479, allocations: 0.8431 MB / 1.228 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0181/1.498, allocations: 1.938 MB / 1.23 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.01154/1.509, allocations: 4.384 MB / 1.235 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.01335/1.523, allocations: 4.858 MB / 1.239 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.06844/1.591, allocations: 31.87 MB / 1.27 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.591, allocations: 2.938 kB / 1.27 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.996e-06/1.591, allocations: 0 / 1.27 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001292/1.592, allocations: 0 / 1.27 GB, free: 6.395 MB / 0.8073 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.1046/1.697, allocations: 21.58 MB / 1.291 GB, free: 2.691 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/1.697, allocations: 12.03 kB / 1.291 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05458/1.752, allocations: 4.257 MB / 1.296 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1316/1.883, allocations: 27.17 MB / 1.322 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002774/1.886, allocations: 1.285 MB / 1.323 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01057/1.897, allocations: 1.715 MB / 1.325 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1374/2.034, allocations: 27.35 MB / 1.352 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001423/2.036, allocations: 71.42 kB / 1.352 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008991/2.045, allocations: 0.7294 MB / 1.353 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002012/2.047, allocations: 0.8922 MB / 1.353 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1341/2.181, allocations: 24.46 MB / 1.377 GB, free: 10.88 MB / 0.9167 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 1.436/3.617, allocations: 99.3 MB / 1.474 GB, free: 280 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04895/3.666, allocations: 16.03 MB / 1.49 GB, free: 271.2 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0286/3.695, allocations: 8.701 MB / 1.498 GB, free: 266.7 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004387/3.699, allocations: 2.093 MB / 1.5 GB, free: 264.5 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03019/3.729, allocations: 8.068 MB / 1.508 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=1035): time 1.783e-05/3.729, allocations: 1.406 kB / 1.508 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1035): time 0.08336/3.813, allocations: 20.78 MB / 1.529 GB, free: 241.3 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/3.813, allocations: 373.1 kB / 1.529 GB, free: 240.9 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04164/3.855, allocations: 16.25 MB / 1.545 GB, free: 224.8 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.003345/3.858, allocations: 225.7 kB / 1.545 GB, free: 224.6 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01435/3.872, allocations: 9.845 MB / 1.555 GB, free: 215.3 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.006748/3.879, allocations: 3.615 MB / 1.558 GB, free: 211.7 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003213/3.882, allocations: 260 kB / 1.558 GB, free: 211.4 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.001353/3.884, allocations: 0.8396 MB / 1.559 GB, free: 210.6 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02568/3.91, allocations: 7.013 MB / 1.566 GB, free: 203.6 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02882/3.938, allocations: 10.67 MB / 1.577 GB, free: 191.4 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03003/3.969, allocations: 8.972 MB / 1.585 GB, free: 182.4 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/3.969, allocations: 28 kB / 1.585 GB, free: 182.3 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1666) (initialization): time 0.07168/4.04, allocations: 19.78 MB / 1.605 GB, free: 162.5 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.00201/4.042, allocations: 3.331 MB / 1.608 GB, free: 157.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002366/4.043, allocations: 119.3 kB / 1.608 GB, free: 157.5 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/4.043, allocations: 172 kB / 1.608 GB, free: 157.4 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02935/4.072, allocations: 3.299 MB / 1.611 GB, free: 154.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003919/4.073, allocations: 245.5 kB / 1.612 GB, free: 153.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02917/4.102, allocations: 1.958 MB / 1.614 GB, free: 151.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003758/4.106, allocations: 0.6364 MB / 1.614 GB, free: 151.2 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/4.106, allocations: 4 kB / 1.614 GB, free: 151.2 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06735/4.173, allocations: 18.34 MB / 1.632 GB, free: 132.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003401/4.174, allocations: 108 kB / 1.632 GB, free: 132.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/4.174, allocations: 176 kB / 1.632 GB, free: 132.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03874/4.213, allocations: 3.296 MB / 1.636 GB, free: 129.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005286/4.213, allocations: 247.2 kB / 1.636 GB, free: 129 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03623/4.25, allocations: 1.786 MB / 1.638 GB, free: 127.2 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004918/4.255, allocations: 0.6286 MB / 1.638 GB, free: 126.6 MB / 0.9324 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.03097/4.286, allocations: 7.679 MB / 1.646 GB, free: 118.9 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009215/4.295, allocations: 1.667 MB / 1.647 GB, free: 117.2 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08921/4.384, allocations: 16.82 MB / 1.664 GB, free: 100.3 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06786/4.452, allocations: 13.32 MB / 1.677 GB, free: 86.85 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.723e-05/4.452, allocations: 0 / 1.677 GB, free: 86.85 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0202/4.473, allocations: 3.797 MB / 1.68 GB, free: 83.01 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008716/4.481, allocations: 227.9 kB / 1.681 GB, free: 82.79 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03857/4.52, allocations: 1.224 MB / 1.682 GB, free: 81.58 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003618/4.524, allocations: 0.5814 MB / 1.682 GB, free: 80.99 MB / 0.9324 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1021/4.626, allocations: 16.52 MB / 1.699 GB, free: 64.54 MB / 0.9324 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08714/4.713, allocations: 26 MB / 1.724 GB, free: 38.36 MB / 0.9324 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02252/4.736, allocations: 7.45 MB / 1.731 GB, free: 30.88 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.02783/4.763, allocations: 11.39 MB / 1.742 GB, free: 19.57 MB / 0.9324 GB Notification: Performance of Backend: time 9.52e-07/4.764, allocations: 0 / 1.742 GB, free: 19.57 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 1.388/6.151, allocations: 21.3 MB / 1.763 GB, free: 315.8 MB / 0.9325 GB Notification: Performance of SimCode: time 0.2094/6.361, allocations: 56.61 MB / 1.818 GB, free: 294.8 MB / 0.9325 GB Notification: Performance of Templates: time 1.575/7.936, allocations: 405.3 MB / 2.214 GB, free: 236.6 MB / 0.9325 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)