Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009435/0.0009436, allocations: 175.8 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007648/0.0007649, allocations: 95.16 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004625, allocations: 11.97 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005415/0.2115, allocations: 5.852 MB / 0.9025 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1473/0.3589, allocations: 150.6 MB / 1.05 GB, free: 7.184 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.3601, allocations: 35.81 kB / 1.05 GB, free: 7.148 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008014/0.3609, allocations: 242.1 kB / 1.05 GB, free: 6.91 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001752/0.3627, allocations: 0.5038 MB / 1.05 GB, free: 6.406 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.3653, allocations: 1.126 MB / 1.051 GB, free: 5.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.3675, allocations: 2.125 MB / 1.053 GB, free: 3.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.3689, allocations: 0.9969 MB / 1.054 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.3698, allocations: 0.552 MB / 1.055 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006806/0.3705, allocations: 0.6021 MB / 1.056 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.3706, allocations: 40 kB / 1.056 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.372, allocations: 0.7138 MB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.4529/0.8248, allocations: 318.2 kB / 1.057 GB, free: 4.211 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.8259, allocations: 0.6943 MB / 1.057 GB, free: 4.211 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.8291, allocations: 2.385 MB / 1.06 GB, free: 4.141 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8291, allocations: 2.562 kB / 1.06 GB, free: 4.141 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8291, allocations: 0 / 1.06 GB, free: 4.141 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.294e-05/0.8292, allocations: 0 / 1.06 GB, free: 4.141 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.003289/0.8325, allocations: 1.762 MB / 1.061 GB, free: 3.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.8325, allocations: 8.156 kB / 1.061 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.8344, allocations: 375.2 kB / 1.062 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.8362, allocations: 1.192 MB / 1.063 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.8363, allocations: 97.33 kB / 1.063 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.8364, allocations: 128.5 kB / 1.063 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.8392, allocations: 1.518 MB / 1.065 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.8393, allocations: 0 / 1.065 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.8394, allocations: 55.03 kB / 1.065 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.8394, allocations: 33.34 kB / 1.065 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004126/0.8436, allocations: 2.046 MB / 1.067 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008164/0.8517, allocations: 4.449 MB / 1.071 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.855, allocations: 1.444 MB / 1.072 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.8561, allocations: 0.5489 MB / 1.073 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.8563, allocations: 58.41 kB / 1.073 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/0.8578, allocations: 0.8047 MB / 1.074 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=136): time 5.841e-06/0.8578, allocations: 0 / 1.074 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=136): time 0.005756/0.8636, allocations: 2.134 MB / 1.076 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.8638, allocations: 356.8 kB / 1.076 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.8653, allocations: 1.047 MB / 1.077 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.8654, allocations: 53.11 kB / 1.077 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.8659, allocations: 0.5953 MB / 1.078 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.8661, allocations: 450.9 kB / 1.078 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.8663, allocations: 110.8 kB / 1.078 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8664, allocations: 358.8 kB / 1.079 GB, free: 15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/0.8673, allocations: 483.5 kB / 1.079 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.8684, allocations: 0.6628 MB / 1.08 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.8704, allocations: 1.132 MB / 1.081 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.8704, allocations: 0.875 kB / 1.081 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003633/0.874, allocations: 1.539 MB / 1.082 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8741, allocations: 6.469 kB / 1.082 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.8741, allocations: 5.125 kB / 1.082 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.8751, allocations: 170.7 kB / 1.083 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.8762, allocations: 291.5 kB / 1.083 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/0.8802, allocations: 3.079 MB / 1.086 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.8818, allocations: 181.7 kB / 1.086 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.882, allocations: 73.28 kB / 1.086 GB, free: 11.91 MB / 0.7136 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 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001055/0.8831, allocations: 380.3 kB / 1.086 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/0.8836, allocations: 150.6 kB / 1.087 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004716/0.8883, allocations: 1.987 MB / 1.089 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.8884, allocations: 10.27 kB / 1.089 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8884, allocations: 3.234 kB / 1.089 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007755/0.8892, allocations: 424.4 kB / 1.089 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/0.8895, allocations: 38.77 kB / 1.089 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.8907, allocations: 132.7 kB / 1.089 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.891, allocations: 117.3 kB / 1.089 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003765/0.8948, allocations: 1.751 MB / 1.091 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00426/0.8991, allocations: 2.449 MB / 1.093 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001101/0.9002, allocations: 0.63 MB / 1.094 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00132/0.9015, allocations: 0.7287 MB / 1.095 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of Backend: time 1.343e-06/0.9016, allocations: 0 / 1.095 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005104/0.9067, allocations: 1.74 MB / 1.096 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of SimCode: time 0.005948/0.9126, allocations: 3.79 MB / 1.1 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of Templates: time 0.05086/0.9635, allocations: 27.04 MB / 1.127 GB, free: 14.9 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)