Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009672/0.0009672, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 252 MB / 0.5102 GB, free: 4.832 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005641/0.0005645, allocations: 20 kB / 0.6243 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6351/0.6357, allocations: 106.3 MB / 0.7281 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004908/0.6406, allocations: 3.463 MB / 0.7315 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.8249, allocations: 136.4 MB / 0.8647 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.8256, allocations: 11.94 kB / 0.8647 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.8261, allocations: 127 kB / 0.8648 GB, free: 15.05 MB / 0.6856 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.001183/0.8273, allocations: 328.2 kB / 0.8652 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.8288, allocations: 0.5266 MB / 0.8657 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009061/0.8297, allocations: 0.9064 MB / 0.8666 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005869/0.8303, allocations: 349.5 kB / 0.8669 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.8307, allocations: 238.9 kB / 0.8671 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.8312, allocations: 266.6 kB / 0.8674 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.8312, allocations: 16 kB / 0.8674 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.8317, allocations: 199.8 kB / 0.8676 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.8319, allocations: 151.4 kB / 0.8677 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.8321, allocations: 157.3 kB / 0.8679 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009168/0.833, allocations: 0.8689 MB / 0.8687 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.833, allocations: 0 / 0.8687 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.843e-06/0.833, allocations: 0 / 0.8687 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.833, allocations: 0 / 0.8687 GB, free: 11.06 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001622/0.8346, allocations: 0.9824 MB / 0.8697 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.8347, allocations: 11.97 kB / 0.8697 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.835, allocations: 102.8 kB / 0.8698 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.8359, allocations: 0.6207 MB / 0.8704 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.836, allocations: 45.31 kB / 0.8704 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.836, allocations: 60 kB / 0.8705 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.8371, allocations: 0.6969 MB / 0.8712 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.8372, allocations: 3.938 kB / 0.8712 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.8372, allocations: 28 kB / 0.8712 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.8373, allocations: 19.95 kB / 0.8712 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.8385, allocations: 0.9103 MB / 0.8721 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.8416, allocations: 2.338 MB / 0.8744 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/0.8425, allocations: 0.5892 MB / 0.875 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.8428, allocations: 219.2 kB / 0.8752 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.856e-05/0.8429, allocations: 32.59 kB / 0.8752 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006068/0.8435, allocations: 354.3 kB / 0.8756 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=61): time 2.314e-06/0.8435, allocations: 0 / 0.8756 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of matching and sorting (n=61): time 0.001234/0.8447, allocations: 0.698 MB / 0.8762 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.8449, allocations: 243.9 kB / 0.8765 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.8456, allocations: 0.5744 MB / 0.877 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.8457, allocations: 37.83 kB / 0.8771 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.846, allocations: 328.5 kB / 0.8774 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.8461, allocations: 201 kB / 0.8776 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.8462, allocations: 12 kB / 0.8776 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.8464, allocations: 374.8 kB / 0.8779 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.8467, allocations: 185.2 kB / 0.8781 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.8471, allocations: 293.9 kB / 0.8784 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.8475, allocations: 234.2 kB / 0.8786 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8475, allocations: 3.938 kB / 0.8786 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009163/0.8484, allocations: 0.5957 MB / 0.8792 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.8485, allocations: 12.11 kB / 0.8792 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8485, allocations: 4 kB / 0.8792 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.8485, allocations: 4 kB / 0.8792 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.849, allocations: 127.8 kB / 0.8793 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.849, allocations: 4 kB / 0.8794 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.8495, allocations: 75.5 kB / 0.8794 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.8495, allocations: 35.97 kB / 0.8795 GB, free: 15.68 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (76): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003243/0.8499, allocations: 237.7 kB / 0.8797 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.85, allocations: 71.16 kB / 0.8798 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.8513, allocations: 0.7578 MB / 0.8805 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.8513, allocations: 8 kB / 0.8805 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.8513, allocations: 4 kB / 0.8805 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.8514, allocations: 3.984 kB / 0.8805 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.8524, allocations: 0.874 MB / 0.8814 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.8524, allocations: 3.953 kB / 0.8814 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.8528, allocations: 127.8 kB / 0.8815 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.8528, allocations: 4 kB / 0.8815 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.8529, allocations: 23.97 kB / 0.8815 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8529, allocations: 0 / 0.8815 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8529, allocations: 4 kB / 0.8815 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008957/0.8538, allocations: 0.6262 MB / 0.8821 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.8541, allocations: 263.7 kB / 0.8824 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.8542, allocations: 16 kB / 0.8824 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.8546, allocations: 55.89 kB / 0.8825 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.8547, allocations: 52.58 kB / 0.8825 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.8548, allocations: 23.98 kB / 0.8825 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005075/0.8553, allocations: 419.1 kB / 0.8829 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8553, allocations: 0 / 0.8829 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006656/0.856, allocations: 227.5 kB / 0.8831 GB, free: 11.8 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/0.8572, allocations: 0.545 MB / 0.8837 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008919/0.8582, allocations: 0.4891 MB / 0.8841 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8582, allocations: 0 / 0.8841 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.8586, allocations: 279.6 kB / 0.8844 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009145/0.8595, allocations: 233.5 kB / 0.8846 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.8619, allocations: 1.581 MB / 0.8862 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.8624, allocations: 0.9484 MB / 0.8871 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006866/0.8631, allocations: 229.6 kB / 0.8873 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.8633, allocations: 95.39 kB / 0.8874 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of SimCode: time 8.92e-07/0.8633, allocations: 0 / 0.8874 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of Templates: time 0.01855/0.8819, allocations: 10.18 MB / 0.8974 GB, free: 13.48 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) Environment - environmentSimulation: