Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.156/2.156, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001294/0.001293, allocations: 178.7 kB / 326.3 MB, free: 2.84 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.315/2.315, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.000933/0.0009329, allocations: 94.11 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006239/0.000624, allocations: 13.34 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1971, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.04911/0.2463, allocations: 33.66 MB / 0.9324 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8977/1.144, allocations: 145.6 MB / 1.075 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/1.147, allocations: 49.06 kB / 1.075 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/1.15, allocations: 488.9 kB / 1.075 GB, free: 3.422 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.006618/1.156, allocations: 1.437 MB / 1.076 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007141/1.164, allocations: 1.531 MB / 1.078 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02051/1.184, allocations: 13.45 MB / 1.091 GB, free: 3.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/1.194, allocations: 4.962 MB / 1.096 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00901/1.204, allocations: 3.146 MB / 1.099 GB, free: 18.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007674/1.211, allocations: 3.11 MB / 1.102 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/1.213, allocations: 176 kB / 1.102 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006343/1.219, allocations: 1.135 MB / 1.103 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002521/1.222, allocations: 0.9277 MB / 1.104 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002848/1.225, allocations: 1.037 MB / 1.105 GB, free: 17.76 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/1.236, allocations: 6.872 MB / 1.112 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.236, allocations: 2.688 kB / 1.112 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.786e-06/1.236, allocations: 0 / 1.112 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002926/1.236, allocations: 3.938 kB / 1.112 GB, free: 16.3 MB / 0.7136 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.0191/1.255, allocations: 4.963 MB / 1.117 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.255, allocations: 12.64 kB / 1.117 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/1.271, allocations: 1.42 MB / 1.118 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01749/1.288, allocations: 5.1 MB / 1.123 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/1.289, allocations: 299.5 kB / 1.123 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/1.29, allocations: 397.1 kB / 1.124 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/1.31, allocations: 5.775 MB / 1.129 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/1.31, allocations: 9.031 kB / 1.129 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009489/1.311, allocations: 166.7 kB / 1.13 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/1.312, allocations: 185.4 kB / 1.13 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/1.333, allocations: 5.6 MB / 1.135 GB, free: 7.855 MB / 0.7136 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.04913/1.383, allocations: 19.91 MB / 1.155 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/1.396, allocations: 3.559 MB / 1.158 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007053/1.403, allocations: 1.922 MB / 1.16 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004033/1.407, allocations: 1.936 MB / 1.162 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008067/1.415, allocations: 2.061 MB / 1.164 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=266): time 7.074e-06/1.415, allocations: 0 / 1.164 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=266): time 0.02376/1.439, allocations: 5.165 MB / 1.169 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.439, allocations: 244.5 kB / 1.169 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009362/1.448, allocations: 3.436 MB / 1.173 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0008924/1.449, allocations: 79.58 kB / 1.173 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00276/1.452, allocations: 2.04 MB / 1.175 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001769/1.454, allocations: 0.9003 MB / 1.176 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/1.454, allocations: 61.75 kB / 1.176 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003319/1.455, allocations: 431.4 kB / 1.176 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006774/1.461, allocations: 1.59 MB / 1.178 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007927/1.469, allocations: 2.264 MB / 1.18 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007826/1.477, allocations: 1.92 MB / 1.182 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-05/1.477, allocations: 4 kB / 1.182 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01942/1.497, allocations: 4.463 MB / 1.186 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005854/1.497, allocations: 0.6099 MB / 1.187 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.498, allocations: 21.75 kB / 1.187 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/1.499, allocations: 117.3 kB / 1.187 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007531/1.506, allocations: 0.7692 MB / 1.187 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/1.509, allocations: 1.578 MB / 1.189 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007491/1.517, allocations: 486.1 kB / 1.19 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008261/1.518, allocations: 154.5 kB / 1.19 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.518, allocations: 4 kB / 1.19 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01775/1.535, allocations: 4.123 MB / 1.194 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/1.536, allocations: 24.03 kB / 1.194 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009803/1.537, allocations: 113.4 kB / 1.194 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007485/1.544, allocations: 0.7731 MB / 1.195 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/1.547, allocations: 1.572 MB / 1.196 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007108/1.554, allocations: 458.6 kB / 1.197 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005898/1.555, allocations: 151.5 kB / 1.197 GB, free: 11.88 MB / 0.7605 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 ($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 (380): * Single equations (assignments): 379 * 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.004344/1.559, allocations: 1.54 MB / 1.198 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/1.561, allocations: 385.3 kB / 1.199 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/1.579, allocations: 4.509 MB / 1.203 GB, free: 7.289 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01447/1.594, allocations: 3.531 MB / 1.206 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.594, allocations: 0 / 1.206 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003868/1.598, allocations: 0.9624 MB / 1.207 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/1.599, allocations: 64.55 kB / 1.207 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006851/1.606, allocations: 317 kB / 1.208 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/1.607, allocations: 175.1 kB / 1.208 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01974/1.627, allocations: 4.121 MB / 1.212 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02315/1.65, allocations: 6.339 MB / 1.218 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006711/1.657, allocations: 1.818 MB / 1.22 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.006158/1.663, allocations: 2.407 MB / 1.222 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of Backend: time 8.22e-07/1.663, allocations: 0 / 1.222 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02465/1.688, allocations: 5.689 MB / 1.228 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of SimCode: time 0.03535/1.723, allocations: 11.96 MB / 1.239 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of Templates: time 0.2525/1.975, allocations: 95.89 MB / 1.333 GB, free: 10.62 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)