Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001018/0.001018, allocations: 178.8 kB / 326.5 MB, free: 2.672 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.411/1.411, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007605/0.0007605, allocations: 90.94 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 12.03 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1529, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels): time 0.03596/0.1889, allocations: 53.43 MB / 0.9489 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.5129/0.7019, allocations: 164.5 MB / 1.11 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.705, allocations: 81.03 kB / 1.11 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.7075, allocations: 0.9112 MB / 1.111 GB, free: 13.69 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.006103/0.7137, allocations: 2.461 MB / 1.113 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004587/0.7183, allocations: 2.257 MB / 1.115 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.06062/0.7789, allocations: 85.15 MB / 1.198 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03234/0.8113, allocations: 25.41 MB / 1.223 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02572/0.837, allocations: 15.63 MB / 1.238 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02458/0.8616, allocations: 16.76 MB / 1.255 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.004427/0.8661, allocations: 0.8398 MB / 1.256 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.8772, allocations: 2.181 MB / 1.258 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.006688/0.8839, allocations: 4.592 MB / 1.262 GB, free: 14.64 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.02066/0.9046, allocations: 11.48 MB / 1.273 GB, free: 3.23 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.03769/0.9423, allocations: 37.33 MB / 1.31 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9423, allocations: 4 kB / 1.31 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9423, allocations: 4 kB / 1.31 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001025/0.9434, allocations: 0 / 1.31 GB, free: 14.71 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: 4613 * Number of variables: 4613 Notification: Performance of Generate backend data structure: time 0.04486/0.9882, allocations: 21.24 MB / 1.331 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9883, allocations: 8.031 kB / 1.331 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02087/1.009, allocations: 4.007 MB / 1.335 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0505/1.06, allocations: 28.19 MB / 1.362 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/1.061, allocations: 1.276 MB / 1.363 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004943/1.066, allocations: 1.716 MB / 1.365 GB, free: 6.961 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05616/1.122, allocations: 27.26 MB / 1.392 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007348/1.123, allocations: 63.48 kB / 1.392 GB, free: 10.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004143/1.127, allocations: 0.7291 MB / 1.392 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008351/1.128, allocations: 0.892 MB / 1.393 GB, free: 9.199 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6338/1.762, allocations: 24.15 MB / 1.417 GB, free: 353.9 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.1096/1.871, allocations: 98.32 MB / 1.513 GB, free: 276.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02334/1.894, allocations: 16.01 MB / 1.529 GB, free: 260.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.013/1.908, allocations: 8.518 MB / 1.537 GB, free: 252.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/1.91, allocations: 2.088 MB / 1.539 GB, free: 249.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01301/1.923, allocations: 7.88 MB / 1.547 GB, free: 241.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1023): time 1.222e-05/1.923, allocations: 0 / 1.547 GB, free: 241.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=1023): time 0.03534/1.958, allocations: 20.24 MB / 1.566 GB, free: 221.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/1.958, allocations: 287.9 kB / 1.567 GB, free: 221.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01935/1.978, allocations: 16.01 MB / 1.582 GB, free: 205.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001922/1.979, allocations: 221.7 kB / 1.582 GB, free: 205.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006398/1.986, allocations: 9.827 MB / 1.592 GB, free: 195.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003372/1.989, allocations: 3.575 MB / 1.596 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/1.991, allocations: 1.03 MB / 1.597 GB, free: 190.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 3.398e-05/1.991, allocations: 301.1 kB / 1.597 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/2.001, allocations: 6.864 MB / 1.604 GB, free: 183.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/2.013, allocations: 10.5 MB / 1.614 GB, free: 171.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02375/2.037, allocations: 18.32 MB / 1.632 GB, free: 151.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.241e-05/2.037, allocations: 32 kB / 1.632 GB, free: 151.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=1649) (initialization): time 0.03093/2.068, allocations: 19.43 MB / 1.651 GB, free: 132.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001056/2.069, allocations: 3.347 MB / 1.654 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.27e-05/2.069, allocations: 108 kB / 1.654 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/2.069, allocations: 176 kB / 1.654 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/2.082, allocations: 3.229 MB / 1.657 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002087/2.082, allocations: 245.4 kB / 1.658 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01458/2.097, allocations: 1.926 MB / 1.659 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/2.099, allocations: 0.6208 MB / 1.66 GB, free: 120.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/2.099, allocations: 4.625 kB / 1.66 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02742/2.126, allocations: 18 MB / 1.678 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/2.126, allocations: 111.9 kB / 1.678 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/2.126, allocations: 175.9 kB / 1.678 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0122/2.138, allocations: 3.237 MB / 1.681 GB, free: 99.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001561/2.139, allocations: 243.2 kB / 1.681 GB, free: 99.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01384/2.152, allocations: 1.741 MB / 1.683 GB, free: 97.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/2.154, allocations: 0.6287 MB / 1.684 GB, free: 96.71 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1649): * Single equations (assignments): 1649 * 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.01069/2.165, allocations: 7.652 MB / 1.691 GB, free: 89.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004125/2.169, allocations: 1.663 MB / 1.693 GB, free: 87.35 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02832/2.197, allocations: 17.17 MB / 1.71 GB, free: 70.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02203/2.219, allocations: 12.95 MB / 1.722 GB, free: 57.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/2.219, allocations: 0 / 1.722 GB, free: 57.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008635/2.228, allocations: 3.653 MB / 1.726 GB, free: 53.33 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003943/2.232, allocations: 223.8 kB / 1.726 GB, free: 53.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01297/2.245, allocations: 1.182 MB / 1.727 GB, free: 51.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/2.246, allocations: 0.5657 MB / 1.728 GB, free: 51.37 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03189/2.278, allocations: 16.18 MB / 1.743 GB, free: 35.25 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03648/2.315, allocations: 25.45 MB / 1.768 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01004/2.325, allocations: 7.306 MB / 1.775 GB, free: 2.293 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.6127/2.937, allocations: 11.24 MB / 1.786 GB, free: 328 MB / 0.9482 GB Notification: Performance of Backend: time 1.052e-06/2.938, allocations: 0.5625 kB / 1.786 GB, free: 328 MB / 0.9482 GB Notification: Performance of simCode: created initialization part: time 0.04178/2.979, allocations: 20.59 MB / 1.807 GB, free: 323.3 MB / 0.9482 GB Notification: Performance of SimCode: time 0.08727/3.067, allocations: 57.41 MB / 1.863 GB, free: 290 MB / 0.9482 GB Notification: Performance of Templates: time 0.7919/3.859, allocations: 408.6 MB / 2.262 GB, free: 225 MB / 0.9482 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)