Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.578/1.578, allocations: 287.4 MB / 303.2 MB, free: 8.207 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.0009541/0.0009541, allocations: 174 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.596/1.596, allocations: 205.4 MB / 0.6305 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.0008157/0.0008156, allocations: 93.3 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004411, allocations: 10.94 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2517, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006985/0.2587, allocations: 5.335 MB / 0.9845 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7357/0.9945, allocations: 139 MB / 1.12 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.9959, allocations: 33.89 kB / 1.12 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008593/0.9967, allocations: 227 kB / 1.12 GB, free: 1.234 MB / 0.6823 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.002541/0.9993, allocations: 499 kB / 1.121 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004832/1.004, allocations: 0.9754 MB / 1.122 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004156/1.008, allocations: 2.016 MB / 1.124 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/1.01, allocations: 1.001 MB / 1.125 GB, free: 452 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/1.011, allocations: 0.5429 MB / 1.125 GB, free: 308 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/1.012, allocations: 0.5767 MB / 1.126 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/1.012, allocations: 45.52 kB / 1.126 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/1.014, allocations: 0.6582 MB / 1.127 GB, free: 112 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003052/1.014, allocations: 311.2 kB / 1.127 GB, free: 44 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/1.015, allocations: 304.4 kB / 1.127 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/1.017, allocations: 1.885 MB / 1.129 GB, free: 15.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.017, allocations: 4 kB / 1.129 GB, free: 15.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.017, allocations: 0 / 1.129 GB, free: 15.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.441e-05/1.017, allocations: 1.312 kB / 1.129 GB, free: 15.8 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.003313/1.02, allocations: 1.764 MB / 1.131 GB, free: 14.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.02, allocations: 9.469 kB / 1.131 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/1.022, allocations: 372.4 kB / 1.131 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/1.024, allocations: 1.182 MB / 1.132 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/1.024, allocations: 102.4 kB / 1.132 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/1.024, allocations: 129.9 kB / 1.133 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/1.027, allocations: 1.506 MB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/1.027, allocations: 2.156 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/1.027, allocations: 57.55 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/1.027, allocations: 34.47 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/1.031, allocations: 2.03 MB / 1.136 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008211/1.039, allocations: 4.468 MB / 1.14 GB, free: 11.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/1.042, allocations: 1.431 MB / 1.142 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/1.043, allocations: 0.5372 MB / 1.142 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/1.043, allocations: 61.09 kB / 1.142 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/1.045, allocations: 0.7946 MB / 1.143 GB, free: 11.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 4.659e-06/1.045, allocations: 6.828 kB / 1.143 GB, free: 11.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.006297/1.051, allocations: 2.119 MB / 1.145 GB, free: 10.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/1.051, allocations: 358.2 kB / 1.146 GB, free: 10 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.053, allocations: 1.038 MB / 1.147 GB, free: 9.684 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/1.053, allocations: 55.83 kB / 1.147 GB, free: 9.648 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/1.054, allocations: 0.5947 MB / 1.147 GB, free: 9.355 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/1.054, allocations: 455.5 kB / 1.148 GB, free: 9.031 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/1.054, allocations: 25.81 kB / 1.148 GB, free: 9.031 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.055, allocations: 356.9 kB / 1.148 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.056, allocations: 477.4 kB / 1.148 GB, free: 8.637 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.057, allocations: 0.6566 MB / 1.149 GB, free: 8.422 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/1.059, allocations: 1.126 MB / 1.15 GB, free: 8.203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.059, allocations: 0 / 1.15 GB, free: 8.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003952/1.063, allocations: 1.524 MB / 1.152 GB, free: 7.844 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/1.063, allocations: 7.062 kB / 1.152 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.063, allocations: 2.812 kB / 1.152 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/1.064, allocations: 175.1 kB / 1.152 GB, free: 7.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.066, allocations: 293 kB / 1.152 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/1.07, allocations: 3.07 MB / 1.155 GB, free: 4.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.071, allocations: 171.9 kB / 1.155 GB, free: 4.875 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.072, allocations: 71.41 kB / 1.155 GB, free: 4.859 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.001078/1.073, allocations: 391.6 kB / 1.156 GB, free: 4.699 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/1.073, allocations: 147.7 kB / 1.156 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/1.078, allocations: 1.974 MB / 1.158 GB, free: 4.066 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.078, allocations: 10.94 kB / 1.158 GB, free: 4.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.078, allocations: 3.984 kB / 1.158 GB, free: 4.055 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008475/1.079, allocations: 453.4 kB / 1.158 GB, free: 3.777 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/1.08, allocations: 36.59 kB / 1.158 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.081, allocations: 133.8 kB / 1.158 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/1.081, allocations: 114.5 kB / 1.159 GB, free: 3.691 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003896/1.085, allocations: 1.747 MB / 1.16 GB, free: 3.195 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004281/1.089, allocations: 2.437 MB / 1.163 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001105/1.09, allocations: 0.6211 MB / 1.163 GB, free: 2.383 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001722/1.092, allocations: 0.72 MB / 1.164 GB, free: 2.156 MB / 0.698 GB Notification: Performance of Backend: time 8.91e-07/1.092, allocations: 1.75 kB / 1.164 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005405/1.098, allocations: 1.716 MB / 1.166 GB, free: 1.531 MB / 0.698 GB Notification: Performance of SimCode: time 0.007841/1.105, allocations: 3.675 MB / 1.169 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.07235/1.178, allocations: 26.39 MB / 1.195 GB, free: 9.902 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)