Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.565/1.565, allocations: 288.4 MB / 304.3 MB, free: 8.156 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.00131/0.00131, allocations: 184.5 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.428/1.428, allocations: 205.4 MB / 0.6316 GB, free: 9.918 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.0007726/0.0007726, allocations: 98.22 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 12.56 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1761, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5242/0.7003, allocations: 159.7 MB / 1.137 GB, free: 164 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.7136, allocations: 11.53 MB / 1.148 GB, free: 12.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.7148, allocations: 29.22 kB / 1.148 GB, free: 12.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.7159, allocations: 328.2 kB / 1.148 GB, free: 12.13 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.002596/0.7185, allocations: 0.7624 MB / 1.149 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.7226, allocations: 1.444 MB / 1.15 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.7256, allocations: 2.336 MB / 1.153 GB, free: 10.26 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.7277, allocations: 1.339 MB / 1.154 GB, free: 9.754 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.7309, allocations: 1.046 MB / 1.155 GB, free: 9.254 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.7319, allocations: 0.6366 MB / 1.156 GB, free: 8.871 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.7321, allocations: 40.56 kB / 1.156 GB, free: 8.871 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.735, allocations: 1.304 MB / 1.157 GB, free: 8.184 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.7354, allocations: 314.2 kB / 1.157 GB, free: 7.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00086/0.7362, allocations: 0.6221 MB / 1.158 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.739, allocations: 1.839 MB / 1.16 GB, free: 6.309 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.739, allocations: 4.938 kB / 1.16 GB, free: 6.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.739, allocations: 0 / 1.16 GB, free: 6.305 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.739, allocations: 0 / 1.16 GB, free: 6.305 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.002832/0.7419, allocations: 1.561 MB / 1.161 GB, free: 5.082 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7419, allocations: 8.719 kB / 1.161 GB, free: 5.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.7445, allocations: 410.8 kB / 1.162 GB, free: 4.898 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.7461, allocations: 0.9468 MB / 1.163 GB, free: 4.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/0.7462, allocations: 99.84 kB / 1.163 GB, free: 4.094 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7464, allocations: 127.5 kB / 1.163 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.7489, allocations: 1.435 MB / 1.164 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.7489, allocations: 3.938 kB / 1.164 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.7491, allocations: 54.94 kB / 1.164 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.7491, allocations: 30.72 kB / 1.164 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.7517, allocations: 1.519 MB / 1.166 GB, free: 2.348 MB / 0.698 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.007086/0.7588, allocations: 4.909 MB / 1.171 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.7612, allocations: 1.427 MB / 1.172 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.762, allocations: 456.4 kB / 1.172 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.7627, allocations: 438.5 kB / 1.173 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.7638, allocations: 0.6146 MB / 1.173 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.317e-06/0.7638, allocations: 4 kB / 1.173 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.00385/0.7677, allocations: 1.544 MB / 1.175 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.7678, allocations: 195.5 kB / 1.175 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.7689, allocations: 0.8215 MB / 1.176 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.769, allocations: 43.64 kB / 1.176 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.7694, allocations: 0.5565 MB / 1.176 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.7697, allocations: 332.5 kB / 1.177 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.7697, allocations: 13.78 kB / 1.177 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7699, allocations: 345.5 kB / 1.177 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.7706, allocations: 370.7 kB / 1.177 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008013/0.7714, allocations: 0.5307 MB / 1.178 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.7729, allocations: 0.9044 MB / 1.179 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7729, allocations: 2.781 kB / 1.179 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002382/0.7753, allocations: 1.15 MB / 1.18 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.7753, allocations: 5.094 kB / 1.18 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7753, allocations: 2.938 kB / 1.18 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.7759, allocations: 89.98 kB / 1.18 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.777, allocations: 247.4 kB / 1.18 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.7789, allocations: 1.54 MB / 1.182 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.7801, allocations: 148.9 kB / 1.182 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/0.7802, allocations: 53.48 kB / 1.182 GB, free: 6.188 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (119): * Single equations (assignments): 118 * 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.0005671/0.7808, allocations: 327.2 kB / 1.182 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.7809, allocations: 109.9 kB / 1.182 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.7837, allocations: 1.335 MB / 1.184 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.7837, allocations: 7.984 kB / 1.184 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7838, allocations: 0 / 1.184 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/0.7843, allocations: 354.2 kB / 1.184 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.7844, allocations: 14.91 kB / 1.184 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008563/0.7853, allocations: 101.1 kB / 1.184 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.7854, allocations: 70.2 kB / 1.184 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002637/0.7881, allocations: 1.221 MB / 1.185 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002782/0.7909, allocations: 1.785 MB / 1.187 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007231/0.7916, allocations: 469.6 kB / 1.188 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007499/0.7924, allocations: 0.5649 MB / 1.188 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of Backend: time 4.91e-07/0.7924, allocations: 0 / 1.188 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003783/0.7962, allocations: 1.555 MB / 1.19 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004278/0.8005, allocations: 3.195 MB / 1.193 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.03856/0.8391, allocations: 24.06 MB / 1.216 GB, free: 8.668 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)