Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="Buildings_8_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.0009453/0.0009451, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007269/0.00727, allocations: 170.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.000537/0.0005371, allocations: 11.5 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2545, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004748/0.2593, allocations: 3.644 MB / 0.7914 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6991/0.9584, allocations: 146.3 MB / 0.9343 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007605/0.9593, allocations: 13.67 kB / 0.9343 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.9599, allocations: 135.4 kB / 0.9344 GB, free: 1.477 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001198/0.9611, allocations: 344 kB / 0.9347 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.9628, allocations: 0.5917 MB / 0.9353 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.964, allocations: 0.9851 MB / 0.9363 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006899/0.9647, allocations: 486 kB / 0.9367 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.9651, allocations: 246.9 kB / 0.937 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.9655, allocations: 285.6 kB / 0.9372 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.315e-05/0.9655, allocations: 19 kB / 0.9373 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.9661, allocations: 225.8 kB / 0.9375 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.9663, allocations: 145.2 kB / 0.9376 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.9667, allocations: 360.8 kB / 0.938 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.9679, allocations: 1.091 MB / 0.939 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.968, allocations: 0 / 0.939 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.355e-06/0.968, allocations: 0 / 0.939 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.968, allocations: 0 / 0.939 GB, free: 16.96 MB / 0.7325 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.001634/0.9696, allocations: 0.9824 MB / 0.94 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9697, allocations: 10.31 kB / 0.94 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.97, allocations: 98 kB / 0.9401 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.9709, allocations: 0.6574 MB / 0.9407 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.971, allocations: 46.19 kB / 0.9408 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.971, allocations: 61.25 kB / 0.9408 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.9722, allocations: 0.6893 MB / 0.9415 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.9723, allocations: 4.594 kB / 0.9415 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.9723, allocations: 29.44 kB / 0.9415 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.9724, allocations: 14.78 kB / 0.9415 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.9739, allocations: 0.912 MB / 0.9424 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.9772, allocations: 2.346 MB / 0.9447 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009831/0.9782, allocations: 0.601 MB / 0.9453 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.9786, allocations: 224.3 kB / 0.9455 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.888e-05/0.9787, allocations: 28.19 kB / 0.9456 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007095/0.9794, allocations: 349.4 kB / 0.9459 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=61): time 3.056e-06/0.9795, allocations: 0 / 0.9459 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=61): time 0.001678/0.9811, allocations: 0.7075 MB / 0.9466 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.9813, allocations: 245.5 kB / 0.9468 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/0.9822, allocations: 0.5831 MB / 0.9474 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.149e-05/0.9823, allocations: 41.2 kB / 0.9474 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.9825, allocations: 315.9 kB / 0.9477 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.9827, allocations: 206.9 kB / 0.9479 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.9828, allocations: 56.61 kB / 0.948 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.983, allocations: 376.4 kB / 0.9483 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.9833, allocations: 187.5 kB / 0.9485 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.9837, allocations: 294.2 kB / 0.9488 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/0.9844, allocations: 477.3 kB / 0.9492 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.9844, allocations: 5.438 kB / 0.9493 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009898/0.9854, allocations: 0.5989 MB / 0.9498 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.9855, allocations: 5.469 kB / 0.9498 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.9855, allocations: 1.219 kB / 0.9498 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.9855, allocations: 7.156 kB / 0.9498 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.986, allocations: 128.9 kB / 0.95 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.986, allocations: 8.5 kB / 0.95 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.9866, allocations: 75.64 kB / 0.9501 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.9866, allocations: 32.33 kB / 0.9501 GB, free: 13.08 MB / 0.7325 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003426/0.987, allocations: 243.2 kB / 0.9503 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.9871, allocations: 75.41 kB / 0.9504 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.9884, allocations: 0.7473 MB / 0.9511 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.9885, allocations: 12.64 kB / 0.9511 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9885, allocations: 5.188 kB / 0.9511 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.9885, allocations: 5.938 kB / 0.9511 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.9898, allocations: 0.8825 MB / 0.952 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.9898, allocations: 1.188 kB / 0.952 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.9903, allocations: 117.4 kB / 0.9521 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.9903, allocations: 3.094 kB / 0.9521 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.9903, allocations: 23.11 kB / 0.9521 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.9904, allocations: 2.469 kB / 0.9521 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9904, allocations: 4 kB / 0.9521 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.9916, allocations: 0.6394 MB / 0.9528 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.992, allocations: 249.4 kB / 0.953 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.9921, allocations: 19.22 kB / 0.953 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.9926, allocations: 59.53 kB / 0.9531 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.9927, allocations: 46.84 kB / 0.9531 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.9928, allocations: 27.23 kB / 0.9532 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006689/0.9935, allocations: 421.1 kB / 0.9536 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9935, allocations: 1.859 kB / 0.9536 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008982/0.9944, allocations: 223 kB / 0.9538 GB, free: 12.06 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001704/0.9961, allocations: 0.5636 MB / 0.9543 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.9973, allocations: 0.4996 MB / 0.9548 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.9973, allocations: 0 / 0.9548 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.9979, allocations: 281.3 kB / 0.9551 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.9992, allocations: 231.1 kB / 0.9553 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/1.002, allocations: 1.631 MB / 0.9569 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/1.002, allocations: 0.9493 MB / 0.9578 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000782/1.003, allocations: 234.9 kB / 0.958 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/1.003, allocations: 91.48 kB / 0.9581 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/1.003, allocations: 0 / 0.9581 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.02095/1.024, allocations: 10.51 MB / 0.9684 GB, free: 5.926 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) Environment - environmentSimulation: