Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.581/1.581, allocations: 288.4 MB / 304.3 MB, free: 8.059 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.0009301/0.0009301, allocations: 187.1 kB / 372.9 MB, free: 10.14 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.363/1.363, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0007801/0.0007803, allocations: 98.2 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 20.53 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1681, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.02057/0.1887, allocations: 28.02 MB / 1.008 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.4962/0.685, allocations: 144.9 MB / 1.15 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.6869, allocations: 52.75 kB / 1.15 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.6885, allocations: 486.2 kB / 1.15 GB, free: 11.82 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.004213/0.6927, allocations: 1.386 MB / 1.151 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.6967, allocations: 1.355 MB / 1.153 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.03165/0.7284, allocations: 36.97 MB / 1.189 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02179/0.7502, allocations: 13.23 MB / 1.202 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/0.7646, allocations: 7.922 MB / 1.21 GB, free: 244 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.7783, allocations: 8.125 MB / 1.217 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002821/0.7811, allocations: 452 kB / 1.218 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007479/0.7886, allocations: 1.432 MB / 1.219 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004506/0.7931, allocations: 2.311 MB / 1.222 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01096/0.8041, allocations: 5.755 MB / 1.227 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01879/0.8229, allocations: 16.73 MB / 1.244 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.823, allocations: 0 / 1.244 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.866e-06/0.823, allocations: 0 / 1.244 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0007894/0.8238, allocations: 0 / 1.244 GB, free: 13.32 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2396 * Number of variables: 2396 Notification: Performance of Generate backend data structure: time 0.02587/0.8497, allocations: 11.22 MB / 1.254 GB, free: 2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8498, allocations: 11.97 kB / 1.254 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.8617, allocations: 2.223 MB / 1.257 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02849/0.8902, allocations: 14.24 MB / 1.271 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006789/0.891, allocations: 0.6622 MB / 1.271 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002777/0.8937, allocations: 0.8982 MB / 1.272 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.9245, allocations: 14.21 MB / 1.286 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003874/0.9249, allocations: 31.72 kB / 1.286 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002359/0.9273, allocations: 392 kB / 1.286 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004303/0.9277, allocations: 477.3 kB / 1.287 GB, free: 304 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02886/0.9566, allocations: 12.73 MB / 1.299 GB, free: 3.543 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.0811/1.038, allocations: 51 MB / 1.349 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/1.053, allocations: 8.171 MB / 1.357 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009036/1.062, allocations: 4.471 MB / 1.361 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002258/1.064, allocations: 1.564 MB / 1.363 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009118/1.074, allocations: 4.326 MB / 1.367 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=553): time 9.218e-06/1.074, allocations: 0 / 1.367 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of matching and sorting (n=553): time 0.02365/1.097, allocations: 10.83 MB / 1.378 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/1.097, allocations: 291.7 kB / 1.378 GB, free: 256 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/1.111, allocations: 8.427 MB / 1.386 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/1.112, allocations: 141.7 kB / 1.386 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005026/1.117, allocations: 4.986 MB / 1.391 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002711/1.12, allocations: 1.922 MB / 1.393 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/1.12, allocations: 143.9 kB / 1.393 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004366/1.121, allocations: 0.5833 MB / 1.394 GB, free: 0 / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00735/1.128, allocations: 3.62 MB / 1.397 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008898/1.137, allocations: 5.487 MB / 1.403 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/1.154, allocations: 9.585 MB / 1.412 GB, free: 11.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.32e-05/1.154, allocations: 16 kB / 1.412 GB, free: 11.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=875) (initialization): time 0.02147/1.176, allocations: 10.23 MB / 1.422 GB, free: 1.387 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001084/1.177, allocations: 1.722 MB / 1.424 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.816e-05/1.177, allocations: 56 kB / 1.424 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-05/1.177, allocations: 88 kB / 1.424 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008109/1.185, allocations: 1.724 MB / 1.426 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001395/1.185, allocations: 123.6 kB / 1.426 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009015/1.194, allocations: 1.025 MB / 1.427 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.196, allocations: 339.8 kB / 1.427 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.196, allocations: 4 kB / 1.427 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02131/1.217, allocations: 9.472 MB / 1.436 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/1.217, allocations: 52 kB / 1.436 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.422e-05/1.217, allocations: 96.03 kB / 1.436 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008266/1.226, allocations: 1.724 MB / 1.438 GB, free: 132 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/1.226, allocations: 123.6 kB / 1.438 GB, free: 8 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6768/1.903, allocations: 0.9304 MB / 1.439 GB, free: 334.8 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001658/1.904, allocations: 339.7 kB / 1.439 GB, free: 334.8 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * 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 (875): * Single equations (assignments): 875 * 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.0082/1.912, allocations: 4.002 MB / 1.443 GB, free: 334.5 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002269/1.915, allocations: 0.8835 MB / 1.444 GB, free: 334.5 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01891/1.934, allocations: 8.845 MB / 1.453 GB, free: 331.4 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01314/1.947, allocations: 6.976 MB / 1.46 GB, free: 328.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.947, allocations: 3.938 kB / 1.46 GB, free: 328.9 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005379/1.952, allocations: 2.079 MB / 1.462 GB, free: 328.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/1.954, allocations: 122.9 kB / 1.462 GB, free: 328.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006956/1.961, allocations: 0.6442 MB / 1.462 GB, free: 328.1 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007616/1.962, allocations: 321.4 kB / 1.463 GB, free: 328.1 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01812/1.98, allocations: 8.677 MB / 1.471 GB, free: 325.3 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02327/2.003, allocations: 13.65 MB / 1.485 GB, free: 320.1 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005975/2.009, allocations: 3.886 MB / 1.488 GB, free: 318.7 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.008567/2.018, allocations: 5.887 MB / 1.494 GB, free: 316.1 MB / 0.9637 GB Notification: Performance of Backend: time 8.62e-07/2.018, allocations: 3.938 kB / 1.494 GB, free: 316.1 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.0249/2.043, allocations: 11.56 MB / 1.505 GB, free: 310.6 MB / 0.9637 GB Notification: Performance of SimCode: time 0.04812/2.091, allocations: 29.14 MB / 1.534 GB, free: 283.2 MB / 0.9637 GB Notification: Performance of Templates: time 0.2881/2.379, allocations: 221.9 MB / 1.751 GB, free: 61.94 MB / 0.9637 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)