Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 113.3 kB / 16.38 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 188.4 kB / 17.31 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 71.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1954, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.3527/0.5482, allocations: 36.71 MB / 0.8207 GB, free: 26.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1638/0.712, allocations: 160 MB / 0.9769 GB, free: 5.348 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.7143, allocations: 55.69 kB / 0.9769 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.7164, allocations: 0.6823 MB / 0.9776 GB, free: 4.605 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005097/0.7215, allocations: 1.763 MB / 0.9793 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.7266, allocations: 2.095 MB / 0.9814 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01197/0.7386, allocations: 12.68 MB / 0.9938 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007233/0.7459, allocations: 6.489 MB / 1 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007067/0.7529, allocations: 4.458 MB / 1.004 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004706/0.7577, allocations: 3.832 MB / 1.008 GB, free: 5.285 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000848/0.7585, allocations: 0.6484 MB / 1.009 GB, free: 4.637 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.762, allocations: 1.861 MB / 1.011 GB, free: 2.773 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.7633, allocations: 1.573 MB / 1.012 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.7665, allocations: 3.115 MB / 1.015 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.008363/0.7748, allocations: 9.076 MB / 1.024 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7749, allocations: 3.984 kB / 1.024 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7749, allocations: 0 / 1.024 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.973e-05/0.775, allocations: 0 / 1.024 GB, free: 4.961 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01076/0.7857, allocations: 6.055 MB / 1.03 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7858, allocations: 8.031 kB / 1.03 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00775/0.7935, allocations: 1.371 MB / 1.031 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009193/0.8028, allocations: 4.786 MB / 1.036 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.803, allocations: 295.9 kB / 1.036 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007856/0.8038, allocations: 411.9 kB / 1.037 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.8145, allocations: 5.806 MB / 1.042 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-05/0.8146, allocations: 19.83 kB / 1.042 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004176/0.815, allocations: 172 kB / 1.043 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.8152, allocations: 183.6 kB / 1.043 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.8267, allocations: 5.549 MB / 1.048 GB, free: 11.99 MB / 0.8419 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.02919/0.8559, allocations: 20.31 MB / 1.068 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00715/0.8631, allocations: 3.555 MB / 1.071 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/0.8668, allocations: 1.911 MB / 1.073 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002237/0.8691, allocations: 1.903 MB / 1.075 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004387/0.8735, allocations: 2.085 MB / 1.077 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=266): time 5.13e-06/0.8735, allocations: 8 kB / 1.077 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=266): time 0.01339/0.8869, allocations: 5.137 MB / 1.082 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.8871, allocations: 235.7 kB / 1.082 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006037/0.8931, allocations: 3.762 MB / 1.086 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.00058/0.8937, allocations: 85.7 kB / 1.086 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.8956, allocations: 2.034 MB / 1.088 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.8966, allocations: 0.905 MB / 1.089 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009663/0.8976, allocations: 0.6077 MB / 1.09 GB, free: 116 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.8977, allocations: 313.6 kB / 1.09 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/0.9014, allocations: 1.607 MB / 1.092 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004199/0.9056, allocations: 2.27 MB / 1.094 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008365/0.914, allocations: 3.95 MB / 1.098 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.914, allocations: 8 kB / 1.098 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01109/0.9251, allocations: 4.482 MB / 1.102 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.9252, allocations: 12.56 kB / 1.102 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.9252, allocations: 16 kB / 1.102 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/0.9259, allocations: 113.1 kB / 1.102 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/0.9297, allocations: 0.7644 MB / 1.103 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.9319, allocations: 1.688 MB / 1.105 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/0.936, allocations: 456.4 kB / 1.105 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/0.9363, allocations: 151.9 kB / 1.105 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005928/0.9423, allocations: 2.907 MB / 1.108 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004333/0.9466, allocations: 2.267 MB / 1.11 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008291/0.9549, allocations: 3.938 MB / 1.114 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.449e-05/0.955, allocations: 8 kB / 1.114 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of matching and sorting (n=382) (initialization_lambda0): time 0.01109/0.9661, allocations: 4.486 MB / 1.118 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.9661, allocations: 12.78 kB / 1.118 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.9661, allocations: 20 kB / 1.118 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/0.9667, allocations: 108.9 kB / 1.119 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/0.9704, allocations: 0.7655 MB / 1.119 GB, free: 472 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.9725, allocations: 1.684 MB / 1.121 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/0.9766, allocations: 381.6 kB / 1.121 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.977, allocations: 147.9 kB / 1.121 GB, free: 14.12 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (380): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007903/0.9777, allocations: 368.6 kB / 1.122 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008821/0.9786, allocations: 391.3 kB / 1.122 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.9889, allocations: 4.415 MB / 1.126 GB, free: 8.906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00809/0.997, allocations: 3.504 MB / 1.13 GB, free: 5.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.9971, allocations: 0 / 1.13 GB, free: 5.312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/0.9996, allocations: 0.9915 MB / 1.131 GB, free: 4.297 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009181/1, allocations: 71.7 kB / 1.131 GB, free: 4.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004509/1.005, allocations: 235.5 kB / 1.131 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/1.006, allocations: 178 kB / 1.131 GB, free: 3.824 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3588/1.364, allocations: 4.06 MB / 1.135 GB, free: 296.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01315/1.377, allocations: 6.31 MB / 1.141 GB, free: 296.4 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003283/1.381, allocations: 1.818 MB / 1.143 GB, free: 296 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004008/1.385, allocations: 2.653 MB / 1.146 GB, free: 295.1 MB / 0.92 GB Notification: Performance of Backend: time 8.02e-07/1.385, allocations: 0 / 1.146 GB, free: 295.1 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.399, allocations: 5.724 MB / 1.151 GB, free: 293.5 MB / 0.92 GB Notification: Performance of SimCode: time 0.01846/1.418, allocations: 10.38 MB / 1.162 GB, free: 289.1 MB / 0.92 GB Notification: Performance of Templates: time 0.1377/1.555, allocations: 105 MB / 1.264 GB, free: 215 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)