Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.589/1.589, allocations: 287.4 MB / 303.2 MB, free: 8.332 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.001017/0.001018, allocations: 187 kB / 371.8 MB, free: 10.83 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.324/1.324, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007766/0.0007766, allocations: 95.78 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003781, allocations: 10.44 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.4805/0.6632, allocations: 95.96 MB / 1.073 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.1914/0.8547, allocations: 168.3 MB / 1.237 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005987/0.8607, allocations: 139.1 kB / 1.237 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.006555/0.8673, allocations: 1.467 MB / 1.239 GB, free: 1.859 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.01503/0.8823, allocations: 3.926 MB / 1.243 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01527/0.8976, allocations: 4.104 MB / 1.247 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.03365/0.9313, allocations: 30.2 MB / 1.276 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01624/0.9475, allocations: 11.06 MB / 1.287 GB, free: 428 kB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01577/0.9633, allocations: 7.174 MB / 1.294 GB, free: 9.211 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.9767, allocations: 7.011 MB / 1.301 GB, free: 2.172 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.003183/0.9799, allocations: 432 kB / 1.301 GB, free: 1.75 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.9906, allocations: 2.757 MB / 1.304 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00458/0.9952, allocations: 2.097 MB / 1.306 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.004927/1, allocations: 2.262 MB / 1.308 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01831/1.018, allocations: 15.57 MB / 1.323 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.018, allocations: 0 / 1.323 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.874e-06/1.019, allocations: 0 / 1.323 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006368/1.019, allocations: 0 / 1.323 GB, free: 11.01 MB / 0.8542 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.02513/1.044, allocations: 10.18 MB / 1.333 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.044, allocations: 8.031 kB / 1.333 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/1.057, allocations: 2.266 MB / 1.336 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/1.079, allocations: 10.36 MB / 1.346 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009324/1.08, allocations: 0.6847 MB / 1.346 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002799/1.082, allocations: 0.8201 MB / 1.347 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/1.109, allocations: 11.99 MB / 1.359 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/1.109, allocations: 27.72 kB / 1.359 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008932/1.11, allocations: 344 kB / 1.359 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000258/1.111, allocations: 347.5 kB / 1.36 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/1.135, allocations: 11.06 MB / 1.37 GB, free: 10.36 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 removeSimpleEquations (simulation): time 0.07183/1.207, allocations: 47.03 MB / 1.416 GB, free: 9.055 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/1.22, allocations: 7.905 MB / 1.424 GB, free: 1.211 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6759/1.896, allocations: 4.166 MB / 1.428 GB, free: 330.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 evalFunc (simulation): time 0.03693/1.933, allocations: 18.23 MB / 1.446 GB, free: 321.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008146/1.941, allocations: 3.724 MB / 1.45 GB, free: 320.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004043/1.946, allocations: 0.6898 MB / 1.45 GB, free: 320.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=508): time 1.842e-05/1.946, allocations: 0 / 1.45 GB, free: 320.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=508): time 0.02137/1.967, allocations: 9.491 MB / 1.459 GB, free: 317.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.967, allocations: 343.1 kB / 1.46 GB, free: 316.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01636/1.984, allocations: 7.288 MB / 1.467 GB, free: 314.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001268/1.985, allocations: 135.6 kB / 1.467 GB, free: 314.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003798/1.989, allocations: 4.397 MB / 1.471 GB, free: 311 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002249/1.991, allocations: 1.76 MB / 1.473 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/1.992, allocations: 129.7 kB / 1.473 GB, free: 309.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004497/1.992, allocations: 0.5624 MB / 1.474 GB, free: 309.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007232/2, allocations: 3.424 MB / 1.477 GB, free: 307.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008227/2.008, allocations: 5.141 MB / 1.482 GB, free: 303.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/2.022, allocations: 8.658 MB / 1.491 GB, free: 298.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.935e-05/2.022, allocations: 16.38 kB / 1.491 GB, free: 298.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=835) (initialization): time 0.02072/2.043, allocations: 9.602 MB / 1.5 GB, free: 293.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006279/2.044, allocations: 1.5 MB / 1.501 GB, free: 291.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.133e-05/2.044, allocations: 49.88 kB / 1.501 GB, free: 291.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.875e-05/2.044, allocations: 78.84 kB / 1.502 GB, free: 291.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007221/2.051, allocations: 1.641 MB / 1.503 GB, free: 290.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001358/2.051, allocations: 107.7 kB / 1.503 GB, free: 290.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008759/2.06, allocations: 0.6981 MB / 1.504 GB, free: 290.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/2.062, allocations: 311.9 kB / 1.504 GB, free: 289.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/2.062, allocations: 7.938 kB / 1.504 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01861/2.08, allocations: 8.866 MB / 1.513 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/2.08, allocations: 52.06 kB / 1.513 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.4e-05/2.08, allocations: 80 kB / 1.513 GB, free: 280.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00701/2.087, allocations: 1.634 MB / 1.515 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001235/2.088, allocations: 107.6 kB / 1.515 GB, free: 278.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007661/2.095, allocations: 0.6628 MB / 1.515 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/2.097, allocations: 311.9 kB / 1.516 GB, free: 278 MB / 0.948 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 ($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 (832): * Single equations (assignments): 829 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0061/2.103, allocations: 3.253 MB / 1.519 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002442/2.105, allocations: 0.7679 MB / 1.52 GB, free: 273.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0216/2.127, allocations: 7.989 MB / 1.527 GB, free: 265.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01244/2.139, allocations: 6.373 MB / 1.534 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/2.139, allocations: 0 / 1.534 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004863/2.144, allocations: 1.814 MB / 1.535 GB, free: 257.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002282/2.146, allocations: 111.9 kB / 1.535 GB, free: 257.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008052/2.155, allocations: 0.5967 MB / 1.536 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001453/2.156, allocations: 303.8 kB / 1.536 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01917/2.175, allocations: 7.588 MB / 1.544 GB, free: 248.9 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02288/2.198, allocations: 12.03 MB / 1.556 GB, free: 236.7 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006088/2.204, allocations: 3.449 MB / 1.559 GB, free: 233.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008382/2.213, allocations: 5.007 MB / 1.564 GB, free: 228.3 MB / 0.948 GB Notification: Performance of Backend: time 1.032e-06/2.213, allocations: 0 / 1.564 GB, free: 228.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02651/2.239, allocations: 11.19 MB / 1.575 GB, free: 217.5 MB / 0.948 GB Notification: Performance of SimCode: time 0.04344/2.283, allocations: 24.68 MB / 1.599 GB, free: 192.8 MB / 0.948 GB Notification: Performance of Templates: time 0.6008/2.884, allocations: 192.7 MB / 1.787 GB, free: 314.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)