Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.504/2.504, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001262/0.001261, allocations: 185.6 kB / 326.3 MB, free: 2.879 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.414/2.414, allocations: 205.4 MB / 0.5772 GB, free: 20.83 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.0009589/0.0009588, allocations: 92.61 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 9.734 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2109, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009903/0.2209, allocations: 5.35 MB / 0.9047 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2264/0.4474, allocations: 139 MB / 1.04 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.4487, allocations: 31.81 kB / 1.04 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009935/0.4498, allocations: 234 kB / 1.041 GB, free: 0.5273 MB / 0.6823 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.00287/0.4526, allocations: 497.9 kB / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.4572, allocations: 0.9734 MB / 1.042 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004034/0.4613, allocations: 2.012 MB / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.4634, allocations: 0.9411 MB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.4649, allocations: 0.5444 MB / 1.046 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.4661, allocations: 0.5752 MB / 1.046 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.4663, allocations: 44 kB / 1.046 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.4684, allocations: 0.6553 MB / 1.047 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.4689, allocations: 306.6 kB / 1.047 GB, free: 9.969 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005331/0.4695, allocations: 312.7 kB / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003638/0.4731, allocations: 1.89 MB / 1.049 GB, free: 7.762 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4732, allocations: 4 kB / 1.049 GB, free: 7.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4732, allocations: 0 / 1.049 GB, free: 7.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.931e-05/0.4733, allocations: 0 / 1.049 GB, free: 7.758 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.005439/0.4787, allocations: 1.78 MB / 1.051 GB, free: 5.922 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.4788, allocations: 8.031 kB / 1.051 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.4823, allocations: 378.3 kB / 1.051 GB, free: 5.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.4857, allocations: 1.138 MB / 1.052 GB, free: 4.348 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4859, allocations: 94.64 kB / 1.053 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.4862, allocations: 136 kB / 1.053 GB, free: 4.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00469/0.4909, allocations: 1.504 MB / 1.054 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.491, allocations: 4 kB / 1.054 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/0.4913, allocations: 60 kB / 1.054 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/0.4913, allocations: 32 kB / 1.054 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006443/0.4978, allocations: 2.032 MB / 1.056 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5987/1.096, allocations: 4.431 MB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/1.101, allocations: 1.439 MB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/1.103, allocations: 0.5359 MB / 1.062 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/1.104, allocations: 58 kB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002739/1.106, allocations: 0.8022 MB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 6.422e-06/1.106, allocations: 0 / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.01064/1.117, allocations: 2.117 MB / 1.065 GB, free: 153.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.117, allocations: 356.3 kB / 1.066 GB, free: 153.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.12, allocations: 1.04 MB / 1.067 GB, free: 153.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003852/1.12, allocations: 52.72 kB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/1.121, allocations: 0.5966 MB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007303/1.122, allocations: 457.9 kB / 1.068 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.122, allocations: 26.62 kB / 1.068 GB, free: 152.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.122, allocations: 355.8 kB / 1.068 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/1.124, allocations: 478.3 kB / 1.069 GB, free: 152.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/1.127, allocations: 0.6559 MB / 1.069 GB, free: 152.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/1.129, allocations: 0.5544 MB / 1.07 GB, free: 152.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/1.129, allocations: 0.8125 kB / 1.07 GB, free: 152.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.008128/1.137, allocations: 1.521 MB / 1.071 GB, free: 152.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/1.138, allocations: 6.594 kB / 1.071 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.138, allocations: 2.344 kB / 1.071 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/1.14, allocations: 173.1 kB / 1.071 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/1.142, allocations: 293.6 kB / 1.072 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/1.148, allocations: 3.07 MB / 1.075 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/1.151, allocations: 173 kB / 1.075 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005168/1.152, allocations: 67.19 kB / 1.075 GB, free: 149.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$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 (161): * Single equations (assignments): 159 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001472/1.153, allocations: 389.7 kB / 1.075 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005688/1.154, allocations: 142.3 kB / 1.075 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009406/1.163, allocations: 2.002 MB / 1.077 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.465e-05/1.163, allocations: 9.328 kB / 1.077 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.163, allocations: 0 / 1.077 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.165, allocations: 460.5 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/1.165, allocations: 29.73 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.168, allocations: 140.6 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004868/1.168, allocations: 119 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00667/1.175, allocations: 1.746 MB / 1.08 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007453/1.182, allocations: 2.434 MB / 1.082 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00194/1.184, allocations: 0.621 MB / 1.083 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001674/1.186, allocations: 0.7169 MB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of Backend: time 2.014e-06/1.186, allocations: 0.9688 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007126/1.193, allocations: 1.714 MB / 1.085 GB, free: 144.2 MB / 0.698 GB Notification: Performance of SimCode: time 0.009644/1.203, allocations: 3.676 MB / 1.089 GB, free: 141.6 MB / 0.698 GB Notification: Performance of Templates: time 0.06753/1.27, allocations: 26.36 MB / 1.115 GB, free: 117 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)