Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008716, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009771/0.0009773, allocations: 168.7 kB / 15.95 MB, free: 204 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.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.626/1.626, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004952/0.0004952, allocations: 12.62 kB / 0.6737 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005189/0.2293, allocations: 4.309 MB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5768/0.8062, allocations: 136.7 MB / 0.925 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.8073, allocations: 15.66 kB / 0.925 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.8078, allocations: 141.2 kB / 0.9252 GB, free: 5.066 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.001349/0.8092, allocations: 426.9 kB / 0.9256 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.8113, allocations: 0.6923 MB / 0.9263 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.8126, allocations: 1.337 MB / 0.9276 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.8137, allocations: 0.8806 MB / 0.9284 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/0.8142, allocations: 427 kB / 0.9288 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.8148, allocations: 458.6 kB / 0.9293 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.8149, allocations: 28.28 kB / 0.9293 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007752/0.8157, allocations: 279.4 kB / 0.9296 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.8159, allocations: 224.5 kB / 0.9298 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.8162, allocations: 264.8 kB / 0.93 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.818, allocations: 1.627 MB / 0.9316 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.818, allocations: 0 / 0.9316 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.818, allocations: 2.844 kB / 0.9316 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.818, allocations: 0 / 0.9316 GB, free: 3.941 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00245/0.8205, allocations: 1.483 MB / 0.9331 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.8206, allocations: 11.88 kB / 0.9331 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/0.8214, allocations: 247.9 kB / 0.9333 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.8226, allocations: 0.8695 MB / 0.9342 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.8227, allocations: 135.7 kB / 0.9343 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.8228, allocations: 140.3 kB / 0.9344 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.8249, allocations: 1.419 MB / 0.9358 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.8249, allocations: 3.938 kB / 0.9358 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.8251, allocations: 67.19 kB / 0.9359 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.8251, allocations: 32.69 kB / 0.9359 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.8276, allocations: 1.465 MB / 0.9373 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005363/0.8329, allocations: 3.779 MB / 0.941 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.8346, allocations: 0.9054 MB / 0.9419 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.8351, allocations: 367.5 kB / 0.9423 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/0.8352, allocations: 46.95 kB / 0.9423 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000863/0.8361, allocations: 0.5532 MB / 0.9429 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=93): time 2.224e-06/0.8361, allocations: 0 / 0.9429 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=93): time 0.002966/0.8391, allocations: 1.38 MB / 0.9442 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.8392, allocations: 195.4 kB / 0.9444 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.8402, allocations: 0.7424 MB / 0.9451 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.546e-05/0.8403, allocations: 44.2 kB / 0.9452 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.8407, allocations: 0.571 MB / 0.9457 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.8408, allocations: 315.9 kB / 0.946 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.8409, allocations: 20.19 kB / 0.946 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.841, allocations: 343.2 kB / 0.9464 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/0.8416, allocations: 331 kB / 0.9467 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.8422, allocations: 438.1 kB / 0.9471 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.8429, allocations: 388.7 kB / 0.9475 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8429, allocations: 1.062 kB / 0.9475 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001934/0.8448, allocations: 1.02 MB / 0.9485 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8448, allocations: 5.281 kB / 0.9485 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8449, allocations: 5.406 kB / 0.9485 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.8454, allocations: 86.08 kB / 0.9486 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.8462, allocations: 202.4 kB / 0.9488 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.848, allocations: 1.532 MB / 0.9502 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/0.8488, allocations: 111.6 kB / 0.9504 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.8489, allocations: 43.7 kB / 0.9504 GB, free: 14.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006325/0.8495, allocations: 326 kB / 0.9507 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.8497, allocations: 99.78 kB / 0.9508 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.8522, allocations: 1.305 MB / 0.9521 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.8523, allocations: 14.48 kB / 0.9521 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8523, allocations: 5 kB / 0.9521 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.8523, allocations: 6.891 kB / 0.9521 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.856, allocations: 2.484 MB / 0.9545 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.856, allocations: 5.344 kB / 0.9545 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.8567, allocations: 184.3 kB / 0.9547 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.8572, allocations: 83.89 kB / 0.9548 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.8572, allocations: 28.33 kB / 0.9548 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.8589, allocations: 1.551 MB / 0.9563 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8589, allocations: 4.062 kB / 0.9563 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.8609, allocations: 1.111 MB / 0.9574 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.8613, allocations: 343.1 kB / 0.9577 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.8615, allocations: 20.58 kB / 0.9578 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/0.8621, allocations: 77.73 kB / 0.9578 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.8623, allocations: 75.52 kB / 0.9579 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/0.8624, allocations: 36.53 kB / 0.9579 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000762/0.8631, allocations: 0.5414 MB / 0.9585 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8631, allocations: 5.25 kB / 0.9585 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001067/0.8642, allocations: 384.3 kB / 0.9588 GB, free: 11.58 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/0.8653, allocations: 0.575 MB / 0.9594 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.867, allocations: 0.961 MB / 0.9603 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.867, allocations: 7.312 kB / 0.9604 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.8679, allocations: 0.5749 MB / 0.9609 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.869, allocations: 266.7 kB / 0.9612 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.8735, allocations: 2.924 MB / 0.964 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.8743, allocations: 1.163 MB / 0.9652 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009534/0.8752, allocations: 290.7 kB / 0.9654 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.8755, allocations: 129 kB / 0.9656 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.8755, allocations: 2.938 kB / 0.9656 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of Templates: time 0.02449/0.9, allocations: 15.59 MB / 0.9808 GB, free: 0.9805 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) Environment - environmentSimulation: