Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 288.4 MB / 304.3 MB, free: 8 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.00098/0.0009801, allocations: 186.8 kB / 372.9 MB, free: 10.16 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.524/1.524, allocations: 205.4 MB / 0.6316 GB, free: 9.934 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.0007898/0.0007897, allocations: 94.3 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 11 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004831/0.2429, allocations: 4.305 MB / 0.9849 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6304/0.8733, allocations: 136.8 MB / 1.118 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.8744, allocations: 21.66 kB / 1.118 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.8751, allocations: 144 kB / 1.119 GB, free: 2.305 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.002129/0.8772, allocations: 434.6 kB / 1.119 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.8805, allocations: 0.6847 MB / 1.12 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002493/0.883, allocations: 1.368 MB / 1.121 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.8849, allocations: 1.041 MB / 1.122 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009939/0.8859, allocations: 424.7 kB / 1.122 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000763/0.8867, allocations: 465.7 kB / 1.123 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.8868, allocations: 27.97 kB / 1.123 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.8881, allocations: 285.2 kB / 1.123 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.8884, allocations: 221 kB / 1.123 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.8893, allocations: 0.569 MB / 1.124 GB, free: 17.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.8918, allocations: 1.627 MB / 1.126 GB, free: 16.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.8919, allocations: 3.938 kB / 1.126 GB, free: 16.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8919, allocations: 0 / 1.126 GB, free: 16.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.469e-05/0.8919, allocations: 3.219 kB / 1.126 GB, free: 16.93 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004037/0.896, allocations: 1.47 MB / 1.127 GB, free: 16.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.8961, allocations: 9 kB / 1.127 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.8975, allocations: 250.8 kB / 1.127 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.8994, allocations: 0.8973 MB / 1.128 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.8997, allocations: 133.1 kB / 1.128 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.8999, allocations: 137.5 kB / 1.128 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00378/0.9037, allocations: 1.428 MB / 1.13 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.9038, allocations: 9.047 kB / 1.13 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.904, allocations: 58.88 kB / 1.13 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/0.9041, allocations: 34.56 kB / 1.13 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004429/0.9085, allocations: 1.462 MB / 1.131 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009595/0.9181, allocations: 3.8 MB / 1.135 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.9206, allocations: 0.9061 MB / 1.136 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009656/0.9216, allocations: 368 kB / 1.136 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.9218, allocations: 46.16 kB / 1.136 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.9233, allocations: 0.5531 MB / 1.137 GB, free: 13.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 5.39e-06/0.9233, allocations: 1.188 kB / 1.137 GB, free: 13.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.005331/0.9286, allocations: 1.38 MB / 1.138 GB, free: 13.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.9288, allocations: 193.6 kB / 1.138 GB, free: 12.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.9306, allocations: 0.7413 MB / 1.139 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.9308, allocations: 43.2 kB / 1.139 GB, free: 12.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007206/0.9315, allocations: 0.5736 MB / 1.14 GB, free: 12.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.9319, allocations: 315.3 kB / 1.14 GB, free: 12.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.932, allocations: 19.09 kB / 1.14 GB, free: 12.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.9323, allocations: 340.9 kB / 1.14 GB, free: 11.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9333, allocations: 327.2 kB / 1.141 GB, free: 11.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.9345, allocations: 440.4 kB / 1.141 GB, free: 11.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.9366, allocations: 0.7694 MB / 1.142 GB, free: 11.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.9367, allocations: 0 / 1.142 GB, free: 11.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003498/0.9402, allocations: 1.028 MB / 1.143 GB, free: 11.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.9402, allocations: 5.375 kB / 1.143 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.9402, allocations: 5.219 kB / 1.143 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008297/0.9411, allocations: 85.05 kB / 1.143 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.9425, allocations: 201.5 kB / 1.143 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.9456, allocations: 1.525 MB / 1.145 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.9471, allocations: 108.7 kB / 1.145 GB, free: 9.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.9473, allocations: 50.34 kB / 1.145 GB, free: 9.684 MB / 0.698 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.00107/0.9484, allocations: 329.8 kB / 1.145 GB, free: 9.539 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.9487, allocations: 97.28 kB / 1.145 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/0.9533, allocations: 1.293 MB / 1.146 GB, free: 9.121 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.9534, allocations: 3.984 kB / 1.146 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.9534, allocations: 0 / 1.146 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/0.9544, allocations: 346.1 kB / 1.147 GB, free: 8.895 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.9546, allocations: 18.22 kB / 1.147 GB, free: 8.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.9557, allocations: 79.34 kB / 1.147 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.956, allocations: 70.77 kB / 1.147 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003457/0.9595, allocations: 1.081 MB / 1.148 GB, free: 8.566 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004092/0.9636, allocations: 1.598 MB / 1.15 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00109/0.9647, allocations: 420 kB / 1.15 GB, free: 8.047 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001322/0.9661, allocations: 0.5416 MB / 1.15 GB, free: 7.875 MB / 0.698 GB Notification: Performance of Backend: time 5.01e-07/0.9661, allocations: 1.562 kB / 1.15 GB, free: 7.875 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004936/0.971, allocations: 1.274 MB / 1.152 GB, free: 7.395 MB / 0.698 GB Notification: Performance of SimCode: time 0.006329/0.9774, allocations: 3.077 MB / 1.155 GB, free: 5.32 MB / 0.698 GB Notification: Performance of Templates: time 0.04254/1.02, allocations: 17.02 MB / 1.171 GB, free: 12.79 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)