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.001098/0.001098, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00106/0.00106, allocations: 201 kB / 16.14 MB, free: 6.762 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.33/1.33, allocations: 205.1 MB / 222 MB, free: 4.719 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.691/1.691, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001552/0.001552, allocations: 60.42 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2208, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006137/0.227, allocations: 5.005 MB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5652/0.7922, allocations: 148.2 MB / 0.9323 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.7939, allocations: 19.38 kB / 0.9323 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.795, allocations: 157.3 kB / 0.9324 GB, free: 5.145 MB / 0.7325 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.002613/0.7977, allocations: 443.6 kB / 0.9329 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.8004, allocations: 0.79 MB / 0.9336 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.8025, allocations: 1.445 MB / 0.935 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.8039, allocations: 1.075 MB / 0.9361 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.805, allocations: 0.59 MB / 0.9367 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008455/0.8058, allocations: 0.6776 MB / 0.9373 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.806, allocations: 100.8 kB / 0.9374 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008795/0.8069, allocations: 374.9 kB / 0.9378 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.8073, allocations: 349.1 kB / 0.9381 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007535/0.808, allocations: 0.7222 MB / 0.9388 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.8104, allocations: 2.106 MB / 0.9409 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.8105, allocations: 4 kB / 0.9409 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8105, allocations: 0 / 0.9409 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.162e-05/0.8105, allocations: 0 / 0.9409 GB, free: 4.703 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003467/0.814, allocations: 1.795 MB / 0.9426 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.814, allocations: 8.562 kB / 0.9426 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.8151, allocations: 240.9 kB / 0.9429 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.8163, allocations: 0.8967 MB / 0.9437 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.8165, allocations: 140.2 kB / 0.9439 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.8166, allocations: 138.4 kB / 0.944 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.8189, allocations: 1.428 MB / 0.9454 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.819, allocations: 3.938 kB / 0.9454 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.8191, allocations: 57.91 kB / 0.9455 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.8191, allocations: 36.59 kB / 0.9455 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.8216, allocations: 1.466 MB / 0.9469 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006383/0.828, allocations: 3.766 MB / 0.9506 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.8299, allocations: 0.9042 MB / 0.9515 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.8307, allocations: 374.9 kB / 0.9519 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.8308, allocations: 39.23 kB / 0.9519 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.832, allocations: 0.545 MB / 0.9524 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=93): time 2.775e-06/0.832, allocations: 0.5 kB / 0.9524 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.003804/0.8358, allocations: 1.376 MB / 0.9538 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.836, allocations: 195.7 kB / 0.954 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.8371, allocations: 0.7411 MB / 0.9547 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.8372, allocations: 47.42 kB / 0.9547 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.8376, allocations: 0.5778 MB / 0.9553 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.8378, allocations: 311.1 kB / 0.9556 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.8381, allocations: 193.2 kB / 0.9558 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8383, allocations: 344.1 kB / 0.9561 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.8389, allocations: 325.3 kB / 0.9564 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/0.8396, allocations: 439.4 kB / 0.9568 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.8409, allocations: 0.764 MB / 0.9576 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8409, allocations: 1.312 kB / 0.9576 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00242/0.8433, allocations: 1.029 MB / 0.9586 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.8434, allocations: 7.438 kB / 0.9586 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8434, allocations: 1.938 kB / 0.9586 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.844, allocations: 85.03 kB / 0.9587 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000853/0.8449, allocations: 198.4 kB / 0.9589 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.8469, allocations: 1.525 MB / 0.9603 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.8478, allocations: 97.75 kB / 0.9604 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.8479, allocations: 50.19 kB / 0.9605 GB, free: 15.03 MB / 0.7481 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 (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 (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006771/0.8486, allocations: 331.8 kB / 0.9608 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.8488, allocations: 101.2 kB / 0.9609 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.8516, allocations: 1.292 MB / 0.9622 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.8517, allocations: 10.66 kB / 0.9622 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8517, allocations: 0 / 0.9622 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.8517, allocations: 7.672 kB / 0.9622 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.8557, allocations: 2.486 MB / 0.9646 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8558, allocations: 0 / 0.9646 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.8565, allocations: 175.7 kB / 0.9648 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005302/0.8571, allocations: 85.03 kB / 0.9649 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.8572, allocations: 28.48 kB / 0.9649 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.859, allocations: 1.565 MB / 0.9664 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.859, allocations: 1.781 kB / 0.9664 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.8615, allocations: 1.111 MB / 0.9675 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.8621, allocations: 310.4 kB / 0.9678 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.8623, allocations: 34.25 kB / 0.9678 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008535/0.8632, allocations: 60.78 kB / 0.9679 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.8634, allocations: 75.31 kB / 0.968 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.8635, allocations: 37.59 kB / 0.968 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001104/0.8646, allocations: 0.5481 MB / 0.9685 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8646, allocations: 0 / 0.9685 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001515/0.8662, allocations: 380.8 kB / 0.9689 GB, free: 12.45 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/0.8677, allocations: 0.5623 MB / 0.9694 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.8698, allocations: 0.9697 MB / 0.9704 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8698, allocations: 0 / 0.9704 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.871, allocations: 0.5849 MB / 0.971 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.8725, allocations: 282.8 kB / 0.9712 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/0.8777, allocations: 2.967 MB / 0.9741 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008941/0.8786, allocations: 1.163 MB / 0.9753 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001204/0.8798, allocations: 288.3 kB / 0.9755 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.8802, allocations: 128.2 kB / 0.9757 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.8802, allocations: 0 / 0.9757 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of Templates: time 0.02748/0.9077, allocations: 16.18 MB / 0.9915 GB, free: 3.516 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (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)