Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.572/2.572, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001457/0.001456, allocations: 180.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001053/0.001053, allocations: 91.73 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006636/0.0006645, allocations: 15.02 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2335, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005462/0.239, allocations: 3.534 MB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8895/1.129, allocations: 136.4 MB / 1.115 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009678/1.13, allocations: 18 kB / 1.115 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007043/1.13, allocations: 124.7 kB / 1.115 GB, free: 1.578 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.002178/1.132, allocations: 344.4 kB / 1.116 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/1.136, allocations: 0.5916 MB / 1.116 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002205/1.138, allocations: 1.004 MB / 1.117 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/1.139, allocations: 450.2 kB / 1.117 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009834/1.14, allocations: 297.1 kB / 1.118 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/1.141, allocations: 320.1 kB / 1.118 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/1.141, allocations: 21.25 kB / 1.118 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/1.142, allocations: 265.9 kB / 1.118 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/1.143, allocations: 158.9 kB / 1.119 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/1.143, allocations: 183.2 kB / 1.119 GB, free: 16.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002633/1.146, allocations: 1.003 MB / 1.12 GB, free: 16.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/1.146, allocations: 1.984 kB / 1.12 GB, free: 16.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.511e-06/1.146, allocations: 0 / 1.12 GB, free: 16.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.111e-05/1.146, allocations: 1.859 kB / 1.12 GB, free: 16.84 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003856/1.15, allocations: 1.114 MB / 1.121 GB, free: 16.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.15, allocations: 11.8 kB / 1.121 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/1.152, allocations: 185.6 kB / 1.121 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/1.154, allocations: 0.6721 MB / 1.122 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/1.154, allocations: 63.67 kB / 1.122 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/1.154, allocations: 73.53 kB / 1.122 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/1.157, allocations: 0.8424 MB / 1.123 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/1.157, allocations: 1.859 kB / 1.123 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/1.157, allocations: 34.91 kB / 1.123 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/1.157, allocations: 25.64 kB / 1.123 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/1.16, allocations: 1.056 MB / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006704/1.167, allocations: 2.36 MB / 1.126 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/1.169, allocations: 0.7949 MB / 1.127 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008907/1.17, allocations: 277.3 kB / 1.127 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/1.17, allocations: 31.53 kB / 1.127 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/1.171, allocations: 429 kB / 1.127 GB, free: 14.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.918e-06/1.171, allocations: 0 / 1.127 GB, free: 14.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.004853/1.176, allocations: 1.079 MB / 1.128 GB, free: 14.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.176, allocations: 189.1 kB / 1.129 GB, free: 14.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/1.177, allocations: 0.5622 MB / 1.129 GB, free: 14.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002469/1.178, allocations: 41.86 kB / 1.129 GB, free: 13.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/1.178, allocations: 366.5 kB / 1.13 GB, free: 13.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/1.179, allocations: 238.5 kB / 1.13 GB, free: 13.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/1.179, allocations: 11.09 kB / 1.13 GB, free: 13.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002218/1.179, allocations: 379 kB / 1.13 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008158/1.18, allocations: 237.6 kB / 1.13 GB, free: 13.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/1.181, allocations: 328.6 kB / 1.131 GB, free: 13.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/1.182, allocations: 275.6 kB / 1.131 GB, free: 13.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.182, allocations: 4 kB / 1.131 GB, free: 13.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003072/1.185, allocations: 0.7739 MB / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.185, allocations: 5.953 kB / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.185, allocations: 0 / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.186, allocations: 88.22 kB / 1.132 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/1.187, allocations: 148.3 kB / 1.132 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/1.19, allocations: 1.516 MB / 1.133 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.192, allocations: 88.27 kB / 1.134 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/1.192, allocations: 35.33 kB / 1.134 GB, free: 11.81 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 82 * 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.0007691/1.193, allocations: 248.3 kB / 1.134 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/1.193, allocations: 75.36 kB / 1.134 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/1.197, allocations: 1.019 MB / 1.135 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/1.197, allocations: 17.14 kB / 1.135 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.197, allocations: 0 / 1.135 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/1.197, allocations: 5.984 kB / 1.135 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005754/1.203, allocations: 1.85 MB / 1.137 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.203, allocations: 5.016 kB / 1.137 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/1.204, allocations: 145.8 kB / 1.137 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009311/1.205, allocations: 87.45 kB / 1.137 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.205, allocations: 23.44 kB / 1.137 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/1.208, allocations: 1.544 MB / 1.138 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.208, allocations: 0 / 1.138 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/1.212, allocations: 0.9227 MB / 1.139 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/1.213, allocations: 264.3 kB / 1.14 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/1.213, allocations: 18.42 kB / 1.14 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.214, allocations: 67.73 kB / 1.14 GB, free: 9.328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/1.214, allocations: 60.94 kB / 1.14 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.214, allocations: 29.14 kB / 1.14 GB, free: 9.301 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009417/1.215, allocations: 416.7 kB / 1.14 GB, free: 9.141 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.215, allocations: 0 / 1.14 GB, free: 9.141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001611/1.217, allocations: 272.2 kB / 1.14 GB, free: 9.09 MB / 0.698 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 (86): * Single equations (assignments): 83 * 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.001903/1.219, allocations: 0.5641 MB / 1.141 GB, free: 8.844 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002827/1.222, allocations: 0.7586 MB / 1.142 GB, free: 8.617 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.222, allocations: 0.9375 kB / 1.142 GB, free: 8.617 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/1.223, allocations: 496.1 kB / 1.142 GB, free: 8.434 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.226, allocations: 258.3 kB / 1.142 GB, free: 8.352 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007103/1.233, allocations: 2.037 MB / 1.144 GB, free: 7.227 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009487/1.234, allocations: 1.003 MB / 1.145 GB, free: 6.398 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001678/1.236, allocations: 246.4 kB / 1.146 GB, free: 6.281 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/1.236, allocations: 96.83 kB / 1.146 GB, free: 6.258 MB / 0.698 GB Notification: Performance of SimCode: time 1.834e-06/1.236, allocations: 0 / 1.146 GB, free: 6.258 MB / 0.698 GB Notification: Performance of Templates: time 0.04012/1.276, allocations: 12.47 MB / 1.158 GB, free: 4 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)