Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.105/2.105, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001318/0.001318, allocations: 176 kB / 326.2 MB, free: 2.859 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.366/2.366, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0008586/0.0008587, allocations: 96.09 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006757/0.000676, allocations: 11.97 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2056, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.06534/0.271, allocations: 56.93 MB / 0.9551 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.872/1.143, allocations: 153 MB / 1.105 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005112/1.148, allocations: 81.77 kB / 1.105 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00507/1.153, allocations: 0.7643 MB / 1.105 GB, free: 2.02 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.01344/1.167, allocations: 2.264 MB / 1.108 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01189/1.179, allocations: 2.143 MB / 1.11 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0654/1.244, allocations: 46.04 MB / 1.155 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03495/1.279, allocations: 15.65 MB / 1.17 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02621/1.305, allocations: 10.18 MB / 1.18 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0246/1.33, allocations: 10.22 MB / 1.19 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.004566/1.335, allocations: 0.5508 MB / 1.19 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/1.348, allocations: 1.713 MB / 1.192 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.007533/1.355, allocations: 2.848 MB / 1.195 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.008435/1.364, allocations: 3.181 MB / 1.198 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0357/1.4, allocations: 20.91 MB / 1.218 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.4, allocations: 0 / 1.218 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.166e-06/1.4, allocations: 4 kB / 1.218 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0008071/1.4, allocations: 0 / 1.218 GB, free: 6.195 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3084 * Number of variables: 3084 Notification: Performance of Generate backend data structure: time 0.05348/1.454, allocations: 14.27 MB / 1.232 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.454, allocations: 8.031 kB / 1.232 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03412/1.488, allocations: 3.362 MB / 1.236 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05883/1.547, allocations: 17.06 MB / 1.252 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/1.548, allocations: 0.8605 MB / 1.253 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005313/1.554, allocations: 1.148 MB / 1.254 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06723/1.621, allocations: 17.91 MB / 1.272 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007104/1.622, allocations: 47.61 kB / 1.272 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004417/1.626, allocations: 496.3 kB / 1.272 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008729/1.627, allocations: 0.5806 MB / 1.273 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06458/1.692, allocations: 16.27 MB / 1.289 GB, free: 6.512 MB / 0.823 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.169/1.861, allocations: 64.06 MB / 1.351 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03819/1.899, allocations: 10.36 MB / 1.361 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02165/1.921, allocations: 5.717 MB / 1.367 GB, free: 4.504 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005247/1.926, allocations: 2.454 MB / 1.369 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02297/1.949, allocations: 5.744 MB / 1.375 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=706): time 1.532e-05/1.949, allocations: 0 / 1.375 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=706): time 0.06556/2.015, allocations: 14.17 MB / 1.389 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002282/2.015, allocations: 308.9 kB / 1.389 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03115/2.046, allocations: 10.53 MB / 1.399 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002149/2.048, allocations: 161.7 kB / 1.399 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.214/3.263, allocations: 6.378 MB / 1.406 GB, free: 346.7 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.004205/3.267, allocations: 2.457 MB / 1.408 GB, free: 345.1 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/3.268, allocations: 174.8 kB / 1.408 GB, free: 345.1 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0008715/3.269, allocations: 0.6541 MB / 1.409 GB, free: 344.8 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01863/3.288, allocations: 4.663 MB / 1.413 GB, free: 344.8 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02301/3.311, allocations: 6.938 MB / 1.42 GB, free: 342.3 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0219/3.333, allocations: 5.855 MB / 1.426 GB, free: 342.2 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/3.333, allocations: 18.31 kB / 1.426 GB, free: 342.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.05182/3.385, allocations: 13.11 MB / 1.439 GB, free: 337.4 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.001328/3.386, allocations: 2.06 MB / 1.441 GB, free: 334.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/3.387, allocations: 65.19 kB / 1.441 GB, free: 334.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/3.388, allocations: 191.7 kB / 1.441 GB, free: 334.7 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02044/3.408, allocations: 2.208 MB / 1.443 GB, free: 334.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/3.411, allocations: 1.674 MB / 1.445 GB, free: 333 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01997/3.431, allocations: 1.333 MB / 1.446 GB, free: 332.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/3.434, allocations: 435.3 kB / 1.447 GB, free: 332.3 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/3.434, allocations: 3.688 kB / 1.447 GB, free: 332.3 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04511/3.479, allocations: 12.15 MB / 1.458 GB, free: 327.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/3.479, allocations: 68.09 kB / 1.459 GB, free: 327.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/3.48, allocations: 185.8 kB / 1.459 GB, free: 327.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0206/3.501, allocations: 2.217 MB / 1.461 GB, free: 327.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/3.504, allocations: 1.67 MB / 1.462 GB, free: 325.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01915/3.523, allocations: 1.226 MB / 1.464 GB, free: 324.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002396/3.525, allocations: 431.8 kB / 1.464 GB, free: 323.9 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (1104): * Single equations (assignments): 1103 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01406/3.539, allocations: 4.856 MB / 1.469 GB, free: 319 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00494/3.544, allocations: 1.097 MB / 1.47 GB, free: 317.9 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04784/3.592, allocations: 12.23 MB / 1.482 GB, free: 305.6 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04598/3.638, allocations: 9.355 MB / 1.491 GB, free: 296.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.945e-05/3.638, allocations: 0 / 1.491 GB, free: 296.1 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01336/3.652, allocations: 2.582 MB / 1.494 GB, free: 293.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006357/3.658, allocations: 155.9 kB / 1.494 GB, free: 293.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02644/3.685, allocations: 0.8374 MB / 1.494 GB, free: 292.5 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001819/3.687, allocations: 417.1 kB / 1.495 GB, free: 292.1 MB / 0.9324 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05222/3.739, allocations: 11.25 MB / 1.506 GB, free: 280.9 MB / 0.9324 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05963/3.798, allocations: 17.53 MB / 1.523 GB, free: 263.3 MB / 0.9324 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01607/3.815, allocations: 5.061 MB / 1.528 GB, free: 258.2 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.01796/3.833, allocations: 7.364 MB / 1.535 GB, free: 250.9 MB / 0.9324 GB Notification: Performance of Backend: time 1.052e-06/3.833, allocations: 0 / 1.535 GB, free: 250.9 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.05721/3.89, allocations: 14.57 MB / 1.549 GB, free: 236.7 MB / 0.9324 GB Notification: Performance of SimCode: time 0.103/3.993, allocations: 36.71 MB / 1.585 GB, free: 200 MB / 0.9324 GB Notification: Performance of Templates: time 2.179/6.172, allocations: 269.7 MB / 1.849 GB, free: 281.2 MB / 0.9325 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)