Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.714/2.714, allocations: 287.5 MB / 302.4 MB, free: 8.43 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.001537/0.001537, allocations: 174.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.218/2.218, 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.001037/0.001037, allocations: 86.36 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005078, allocations: 14.16 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2373, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005717/0.2431, allocations: 3.506 MB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8992/1.142, allocations: 136.4 MB / 1.115 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009617/1.143, allocations: 15.34 kB / 1.115 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006968/1.144, allocations: 126.8 kB / 1.115 GB, free: 1.535 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.002157/1.146, allocations: 339.1 kB / 1.115 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/1.149, allocations: 0.5995 MB / 1.116 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00222/1.152, allocations: 0.9904 MB / 1.117 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/1.153, allocations: 450.6 kB / 1.117 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009971/1.154, allocations: 287.5 kB / 1.118 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/1.155, allocations: 305.1 kB / 1.118 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/1.155, allocations: 21.09 kB / 1.118 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/1.156, allocations: 261.3 kB / 1.118 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/1.157, allocations: 165.2 kB / 1.118 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004136/1.157, allocations: 174.3 kB / 1.119 GB, free: 16.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/1.16, allocations: 1.025 MB / 1.12 GB, free: 16.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/1.16, allocations: 0.6562 kB / 1.12 GB, free: 16.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.206e-06/1.16, allocations: 3.938 kB / 1.12 GB, free: 16.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.502e-05/1.16, allocations: 0 / 1.12 GB, free: 16.8 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00385/1.164, allocations: 1.097 MB / 1.121 GB, free: 16.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.164, allocations: 8.438 kB / 1.121 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/1.166, allocations: 187.2 kB / 1.121 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/1.168, allocations: 0.6669 MB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.854e-05/1.168, allocations: 56.66 kB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/1.168, allocations: 74.55 kB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/1.171, allocations: 0.8425 MB / 1.122 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.171, allocations: 0 / 1.122 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/1.171, allocations: 32.28 kB / 1.122 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/1.171, allocations: 28.06 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/1.174, allocations: 1.054 MB / 1.124 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006927/1.181, allocations: 2.377 MB / 1.126 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/1.184, allocations: 0.7187 MB / 1.127 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008295/1.185, allocations: 276.1 kB / 1.127 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/1.185, allocations: 31.44 kB / 1.127 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/1.186, allocations: 435.1 kB / 1.127 GB, free: 14.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 5.811e-06/1.186, allocations: 1.375 kB / 1.127 GB, free: 14.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.005187/1.191, allocations: 1.081 MB / 1.128 GB, free: 14.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.191, allocations: 190.1 kB / 1.129 GB, free: 14.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/1.193, allocations: 0.5608 MB / 1.129 GB, free: 14.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/1.193, allocations: 42.83 kB / 1.129 GB, free: 14.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/1.193, allocations: 361.6 kB / 1.129 GB, free: 13.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/1.194, allocations: 236.2 kB / 1.13 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/1.194, allocations: 10.53 kB / 1.13 GB, free: 13.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000228/1.194, allocations: 377.4 kB / 1.13 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/1.195, allocations: 241.8 kB / 1.13 GB, free: 13.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/1.196, allocations: 325 kB / 1.131 GB, free: 13.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/1.197, allocations: 286.1 kB / 1.131 GB, free: 13.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.197, allocations: 0 / 1.131 GB, free: 13.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003143/1.2, allocations: 0.7767 MB / 1.132 GB, free: 13.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/1.2, allocations: 6.891 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.2, allocations: 2.375 kB / 1.132 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.201, allocations: 84.52 kB / 1.132 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.202, allocations: 152.9 kB / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/1.206, allocations: 1.518 MB / 1.133 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.207, allocations: 90.84 kB / 1.133 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.207, allocations: 30.55 kB / 1.133 GB, free: 11.89 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 (81): * Single equations (assignments): 80 * 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.000791/1.208, allocations: 259.4 kB / 1.134 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/1.208, allocations: 73.73 kB / 1.134 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/1.212, allocations: 1.003 MB / 1.135 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.212, allocations: 8.312 kB / 1.135 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.212, allocations: 1.438 kB / 1.135 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-05/1.213, allocations: 4.922 kB / 1.135 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/1.214, allocations: 0.8348 MB / 1.136 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.215, allocations: 1.969 kB / 1.136 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.216, allocations: 133.6 kB / 1.136 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000945/1.217, allocations: 88.61 kB / 1.136 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/1.217, allocations: 23 kB / 1.136 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002971/1.22, allocations: 1.547 MB / 1.137 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.22, allocations: 0 / 1.137 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/1.223, allocations: 0.8437 MB / 1.138 GB, free: 9.875 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/1.224, allocations: 270 kB / 1.138 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/1.225, allocations: 20.31 kB / 1.138 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.226, allocations: 64.61 kB / 1.138 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/1.226, allocations: 63.83 kB / 1.139 GB, free: 9.715 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.226, allocations: 28.47 kB / 1.139 GB, free: 9.715 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009274/1.227, allocations: 413.4 kB / 1.139 GB, free: 9.613 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/1.227, allocations: 0 / 1.139 GB, free: 9.613 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001576/1.228, allocations: 268.5 kB / 1.139 GB, free: 9.566 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001967/1.23, allocations: 0.5459 MB / 1.14 GB, free: 9.355 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003017/1.234, allocations: 0.7586 MB / 1.14 GB, free: 9.137 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.234, allocations: 1.031 kB / 1.14 GB, free: 9.137 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.235, allocations: 493.5 kB / 1.141 GB, free: 8.949 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.238, allocations: 252.3 kB / 1.141 GB, free: 8.875 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/1.245, allocations: 2.003 MB / 1.143 GB, free: 7.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009308/1.246, allocations: 0.9891 MB / 1.144 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001709/1.248, allocations: 248 kB / 1.144 GB, free: 6.832 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/1.248, allocations: 97.27 kB / 1.144 GB, free: 6.809 MB / 0.698 GB Notification: Performance of SimCode: time 1.774e-06/1.248, allocations: 4 kB / 1.144 GB, free: 6.805 MB / 0.698 GB Notification: Performance of Templates: time 0.04191/1.29, allocations: 12.46 MB / 1.157 GB, free: 0.5469 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)