Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009273/0.0009274, allocations: 183.3 kB / 326.5 MB, free: 2.719 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.4/1.4, allocations: 205 MB / 0.5767 GB, free: 21.02 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.000763/0.000763, allocations: 95.91 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002984, allocations: 9.875 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1606, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.07345/0.2341, allocations: 103.2 MB / 0.9975 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.5337/0.7678, allocations: 182.1 MB / 1.175 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005396/0.7733, allocations: 140 kB / 1.175 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005074/0.7784, allocations: 1.777 MB / 1.177 GB, free: 7.5 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.01194/0.7903, allocations: 4.511 MB / 1.182 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01236/0.8027, allocations: 4.918 MB / 1.186 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02896/0.8317, allocations: 34.96 MB / 1.221 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01329/0.845, allocations: 10.94 MB / 1.231 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01277/0.8578, allocations: 7.297 MB / 1.238 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.8686, allocations: 7.399 MB / 1.246 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.8703, allocations: 428 kB / 1.246 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008157/0.8785, allocations: 3.279 MB / 1.249 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.881, allocations: 2.178 MB / 1.251 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.007638/0.8886, allocations: 5.366 MB / 1.257 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.9086, allocations: 18.58 MB / 1.275 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9087, allocations: 0 / 1.275 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9087, allocations: 0 / 1.275 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0004725/0.9091, allocations: 4 kB / 1.275 GB, free: 4.711 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2102 * Number of variables: 2102 Notification: Performance of Generate backend data structure: time 0.02063/0.9298, allocations: 10.15 MB / 1.285 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9298, allocations: 8.031 kB / 1.285 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.9416, allocations: 2.258 MB / 1.287 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02003/0.9616, allocations: 10.32 MB / 1.297 GB, free: 13.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007871/0.9625, allocations: 0.6808 MB / 1.298 GB, free: 13.08 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/0.9643, allocations: 0.824 MB / 1.298 GB, free: 12.26 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/0.9852, allocations: 11.96 MB / 1.31 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.9854, allocations: 27.78 kB / 1.31 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008215/0.9862, allocations: 344 kB / 1.31 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002549/0.9865, allocations: 347.4 kB / 1.311 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/1.009, allocations: 11.12 MB / 1.322 GB, free: 4.105 MB / 0.8386 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.07054/1.079, allocations: 46.91 MB / 1.367 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01441/1.094, allocations: 7.946 MB / 1.375 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007341/1.101, allocations: 4.177 MB / 1.379 GB, free: 6.836 MB / 0.9011 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 evalFunc (simulation): time 0.03226/1.133, allocations: 18.16 MB / 1.397 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00691/1.14, allocations: 3.649 MB / 1.401 GB, free: 228 kB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.5974/1.738, allocations: 0.6812 MB / 1.401 GB, free: 346.7 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=508): time 1.03e-05/1.738, allocations: 1.5 kB / 1.401 GB, free: 346.7 MB / 0.9168 GB Notification: Performance of matching and sorting (n=508): time 0.01998/1.758, allocations: 9.524 MB / 1.411 GB, free: 346.6 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.758, allocations: 343.3 kB / 1.411 GB, free: 346.2 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/1.769, allocations: 7.35 MB / 1.418 GB, free: 344.1 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.771, allocations: 132.7 kB / 1.418 GB, free: 344 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.003301/1.774, allocations: 4.414 MB / 1.422 GB, free: 341.3 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.776, allocations: 1.746 MB / 1.424 GB, free: 340 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006535/1.776, allocations: 0.5434 MB / 1.425 GB, free: 339.7 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 3.709e-05/1.776, allocations: 305.9 kB / 1.425 GB, free: 339.4 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005733/1.782, allocations: 3.461 MB / 1.428 GB, free: 338.3 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007311/1.79, allocations: 5.176 MB / 1.433 GB, free: 335.1 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.802, allocations: 8.725 MB / 1.442 GB, free: 330.4 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/1.802, allocations: 12.59 kB / 1.442 GB, free: 330.4 MB / 0.9168 GB Notification: Performance of matching and sorting (n=834) (initialization): time 0.01644/1.819, allocations: 9.674 MB / 1.451 GB, free: 326.7 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004816/1.819, allocations: 1.504 MB / 1.453 GB, free: 324.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/1.819, allocations: 44.56 kB / 1.453 GB, free: 324.7 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.43e-05/1.819, allocations: 83.83 kB / 1.453 GB, free: 324.7 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006046/1.825, allocations: 1.65 MB / 1.455 GB, free: 324.3 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.883e-05/1.826, allocations: 109.7 kB / 1.455 GB, free: 324.3 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006652/1.832, allocations: 0.6883 MB / 1.455 GB, free: 323.9 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005432/1.833, allocations: 311.4 kB / 1.456 GB, free: 323.9 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/1.833, allocations: 7.125 kB / 1.456 GB, free: 323.9 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01335/1.846, allocations: 8.907 MB / 1.464 GB, free: 315.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-05/1.846, allocations: 61.14 kB / 1.464 GB, free: 315.7 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.772e-05/1.846, allocations: 80 kB / 1.465 GB, free: 315.6 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005858/1.852, allocations: 1.626 MB / 1.466 GB, free: 314 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.659e-05/1.852, allocations: 107.6 kB / 1.466 GB, free: 313.9 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006463/1.859, allocations: 0.6611 MB / 1.467 GB, free: 313.2 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004763/1.859, allocations: 315.9 kB / 1.467 GB, free: 312.9 MB / 0.9168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (831): * Single equations (assignments): 828 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.004391/1.864, allocations: 3.244 MB / 1.47 GB, free: 309.6 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/1.865, allocations: 0.7653 MB / 1.471 GB, free: 308.9 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.878, allocations: 8.014 MB / 1.479 GB, free: 300.8 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009897/1.888, allocations: 6.404 MB / 1.485 GB, free: 294.2 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.888, allocations: 1.531 kB / 1.485 GB, free: 294.2 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003538/1.892, allocations: 1.697 MB / 1.487 GB, free: 292.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.893, allocations: 112 kB / 1.487 GB, free: 292.4 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/1.898, allocations: 0.6001 MB / 1.488 GB, free: 291.8 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004782/1.898, allocations: 303.8 kB / 1.488 GB, free: 291.5 MB / 0.9168 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01416/1.913, allocations: 7.625 MB / 1.495 GB, free: 283.9 MB / 0.9168 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01767/1.93, allocations: 12.07 MB / 1.507 GB, free: 271.7 MB / 0.9168 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004761/1.935, allocations: 3.48 MB / 1.51 GB, free: 268.2 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.006174/1.941, allocations: 5.066 MB / 1.515 GB, free: 263.1 MB / 0.9168 GB Notification: Performance of Backend: time 1.092e-06/1.941, allocations: 0 / 1.515 GB, free: 263.1 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.02007/1.961, allocations: 11.26 MB / 1.526 GB, free: 252.3 MB / 0.9168 GB Notification: Performance of SimCode: time 0.03433/1.996, allocations: 25.11 MB / 1.551 GB, free: 227.2 MB / 0.9168 GB Notification: Performance of Templates: time 0.2286/2.224, allocations: 195.6 MB / 1.742 GB, free: 32.17 MB / 0.9168 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)