Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009514/0.0009514, allocations: 172.4 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0006963/0.0006961, allocations: 93.11 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8.938 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.03541/0.177, allocations: 53.68 MB / 0.9492 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.489/0.6661, allocations: 165 MB / 1.11 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.6695, allocations: 83.31 kB / 1.11 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.6722, allocations: 0.8796 MB / 1.111 GB, free: 13.03 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.007145/0.6793, allocations: 2.571 MB / 1.114 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.6849, allocations: 2.355 MB / 1.116 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.06152/0.7465, allocations: 85.32 MB / 1.199 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0352/0.7817, allocations: 25.5 MB / 1.224 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02597/0.8077, allocations: 15.68 MB / 1.24 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0245/0.8322, allocations: 16.82 MB / 1.256 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.005045/0.8373, allocations: 0.8438 MB / 1.257 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.8499, allocations: 2.208 MB / 1.259 GB, free: 15.95 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.008386/0.8583, allocations: 4.626 MB / 1.264 GB, free: 11.42 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.02126/0.8796, allocations: 11.52 MB / 1.275 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.04037/0.92, allocations: 37.49 MB / 1.311 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.92, allocations: 0 / 1.311 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.92, allocations: 0 / 1.311 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001158/0.9212, allocations: 0 / 1.311 GB, free: 11.29 MB / 0.8698 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.04664/0.9678, allocations: 21.35 MB / 1.332 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.9679, allocations: 8.031 kB / 1.332 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02278/0.9907, allocations: 4.257 MB / 1.336 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05282/1.044, allocations: 27.7 MB / 1.363 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/1.045, allocations: 1.281 MB / 1.365 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004858/1.05, allocations: 1.726 MB / 1.366 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.056/1.106, allocations: 27.49 MB / 1.393 GB, free: 7.336 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006284/1.106, allocations: 71.42 kB / 1.393 GB, free: 7.266 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003667/1.11, allocations: 0.7254 MB / 1.394 GB, free: 6.551 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007467/1.111, allocations: 0.896 MB / 1.395 GB, free: 5.652 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6459/1.757, allocations: 24.59 MB / 1.419 GB, free: 354.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.122/1.879, allocations: 99.3 MB / 1.516 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02332/1.902, allocations: 16.09 MB / 1.532 GB, free: 255.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01268/1.915, allocations: 8.749 MB / 1.54 GB, free: 246.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/1.917, allocations: 2.09 MB / 1.542 GB, free: 244.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01257/1.929, allocations: 8.093 MB / 1.55 GB, free: 236.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1035): time 1.228e-05/1.929, allocations: 8 kB / 1.55 GB, free: 236.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=1035): time 0.03594/1.965, allocations: 20.87 MB / 1.57 GB, free: 215.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.965, allocations: 370.6 kB / 1.571 GB, free: 214.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02138/1.987, allocations: 16.37 MB / 1.587 GB, free: 198.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002083/1.989, allocations: 229.7 kB / 1.587 GB, free: 198.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00722/1.996, allocations: 9.849 MB / 1.597 GB, free: 188.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003736/2, allocations: 3.609 MB / 1.6 GB, free: 185 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/2.001, allocations: 1.039 MB / 1.601 GB, free: 184 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/2.001, allocations: 309.1 kB / 1.601 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01108/2.013, allocations: 7.071 MB / 1.608 GB, free: 176.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01242/2.025, allocations: 10.72 MB / 1.619 GB, free: 164.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02915/2.054, allocations: 18.69 MB / 1.637 GB, free: 144.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.806e-05/2.054, allocations: 32 kB / 1.637 GB, free: 144.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=1666) (initialization): time 0.03893/2.093, allocations: 19.89 MB / 1.657 GB, free: 124.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001248/2.094, allocations: 3.326 MB / 1.66 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/2.095, allocations: 104 kB / 1.66 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/2.095, allocations: 176 kB / 1.66 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/2.108, allocations: 3.295 MB / 1.663 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002412/2.109, allocations: 242.2 kB / 1.664 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0161/2.125, allocations: 1.975 MB / 1.665 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002167/2.127, allocations: 0.6325 MB / 1.666 GB, free: 112.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/2.127, allocations: 8 kB / 1.666 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03332/2.16, allocations: 18.44 MB / 1.684 GB, free: 94.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002231/2.16, allocations: 104 kB / 1.684 GB, free: 94.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/2.161, allocations: 180 kB / 1.684 GB, free: 94.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01332/2.174, allocations: 3.296 MB / 1.688 GB, free: 90.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002422/2.174, allocations: 239.2 kB / 1.688 GB, free: 90.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01451/2.189, allocations: 1.788 MB / 1.69 GB, free: 88.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00209/2.191, allocations: 0.6286 MB / 1.69 GB, free: 88.07 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 ($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.01222/2.203, allocations: 7.676 MB / 1.698 GB, free: 80.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004781/2.208, allocations: 1.667 MB / 1.699 GB, free: 78.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0347/2.243, allocations: 16.85 MB / 1.716 GB, free: 61.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02466/2.267, allocations: 13.39 MB / 1.729 GB, free: 48.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/2.267, allocations: 4 kB / 1.729 GB, free: 48.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009829/2.277, allocations: 3.742 MB / 1.732 GB, free: 44.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005401/2.283, allocations: 231.8 kB / 1.733 GB, free: 44.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01385/2.297, allocations: 1.231 MB / 1.734 GB, free: 43.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001653/2.298, allocations: 0.5813 MB / 1.734 GB, free: 42.45 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03391/2.332, allocations: 16.59 MB / 1.751 GB, free: 25.93 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.6449/2.977, allocations: 26.08 MB / 1.776 GB, free: 328.4 MB / 0.9482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01327/2.99, allocations: 7.513 MB / 1.783 GB, free: 328.3 MB / 0.9482 GB Notification: Performance of sorting global known variables: time 0.02082/3.011, allocations: 11.53 MB / 1.795 GB, free: 326.2 MB / 0.9482 GB Notification: Performance of Backend: time 8.72e-07/3.011, allocations: 2.5 kB / 1.795 GB, free: 326.2 MB / 0.9482 GB Notification: Performance of simCode: created initialization part: time 0.04987/3.061, allocations: 21.44 MB / 1.816 GB, free: 319.4 MB / 0.9482 GB Notification: Performance of SimCode: time 0.09725/3.158, allocations: 57.67 MB / 1.872 GB, free: 280.6 MB / 0.9482 GB Notification: Performance of Templates: time 0.8046/3.963, allocations: 415.3 MB / 2.278 GB, free: 206.1 MB / 0.9482 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)