Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.65/2.65, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001384/0.001384, allocations: 179.9 kB / 371 MB, free: 10.88 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.096/2.096, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001069/0.001069, allocations: 87.45 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005133, allocations: 10.98 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2377, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005424/0.2432, allocations: 3.467 MB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9769/1.22, allocations: 136.4 MB / 1.115 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009045/1.221, allocations: 14.94 kB / 1.115 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007531/1.222, allocations: 126.8 kB / 1.115 GB, free: 1.566 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.002137/1.224, allocations: 348.9 kB / 1.115 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/1.227, allocations: 0.5802 MB / 1.116 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002186/1.229, allocations: 0.9785 MB / 1.117 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/1.231, allocations: 444.4 kB / 1.117 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008952/1.231, allocations: 286.1 kB / 1.118 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/1.232, allocations: 301.3 kB / 1.118 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/1.232, allocations: 21.16 kB / 1.118 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/1.234, allocations: 262.4 kB / 1.118 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/1.234, allocations: 157.5 kB / 1.118 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/1.234, allocations: 170.8 kB / 1.119 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/1.237, allocations: 0.995 MB / 1.119 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/1.237, allocations: 1.984 kB / 1.119 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.806e-06/1.237, allocations: 0 / 1.119 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.393e-05/1.237, allocations: 4 kB / 1.119 GB, free: 0.8398 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003807/1.241, allocations: 1.092 MB / 1.121 GB, free: 16.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.241, allocations: 12.67 kB / 1.121 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/1.243, allocations: 187.7 kB / 1.121 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/1.245, allocations: 0.6657 MB / 1.121 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/1.245, allocations: 57.5 kB / 1.121 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/1.245, allocations: 70.89 kB / 1.122 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/1.247, allocations: 0.8255 MB / 1.122 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/1.247, allocations: 10.81 kB / 1.122 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/1.248, allocations: 34.38 kB / 1.122 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/1.248, allocations: 22.77 kB / 1.122 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/1.251, allocations: 1.041 MB / 1.123 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/1.257, allocations: 2.326 MB / 1.126 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/1.259, allocations: 0.7787 MB / 1.126 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/1.26, allocations: 264 kB / 1.127 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/1.26, allocations: 28.83 kB / 1.127 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/1.262, allocations: 416.2 kB / 1.127 GB, free: 14.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.768e-06/1.262, allocations: 0 / 1.127 GB, free: 14.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.004848/1.267, allocations: 1.056 MB / 1.128 GB, free: 14.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/1.267, allocations: 196.7 kB / 1.128 GB, free: 14.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/1.268, allocations: 0.5591 MB / 1.129 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/1.268, allocations: 40.58 kB / 1.129 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/1.269, allocations: 357.5 kB / 1.129 GB, free: 13.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/1.269, allocations: 229.8 kB / 1.129 GB, free: 13.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/1.269, allocations: 10.84 kB / 1.129 GB, free: 13.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002348/1.269, allocations: 377 kB / 1.13 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008197/1.27, allocations: 237 kB / 1.13 GB, free: 13.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008883/1.271, allocations: 321.4 kB / 1.13 GB, free: 13.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/1.272, allocations: 276.4 kB / 1.131 GB, free: 13.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.272, allocations: 0 / 1.131 GB, free: 13.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002931/1.275, allocations: 0.7428 MB / 1.131 GB, free: 13.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.275, allocations: 13.28 kB / 1.131 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.275, allocations: 3.953 kB / 1.131 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009589/1.276, allocations: 82.61 kB / 1.131 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.277, allocations: 147.1 kB / 1.132 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/1.28, allocations: 1.514 MB / 1.133 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/1.282, allocations: 87.91 kB / 1.133 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.282, allocations: 33.66 kB / 1.133 GB, free: 11.83 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.0007834/1.283, allocations: 249.8 kB / 1.133 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/1.283, allocations: 73.41 kB / 1.134 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/1.287, allocations: 0.9671 MB / 1.134 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/1.287, allocations: 12.41 kB / 1.134 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.287, allocations: 5.25 kB / 1.134 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/1.287, allocations: 6.5 kB / 1.134 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/1.293, allocations: 1.786 MB / 1.136 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/1.293, allocations: 0 / 1.136 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.294, allocations: 137.1 kB / 1.136 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008946/1.295, allocations: 85.83 kB / 1.136 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.295, allocations: 27.41 kB / 1.136 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/1.298, allocations: 1.544 MB / 1.138 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.298, allocations: 0 / 1.138 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/1.301, allocations: 0.8825 MB / 1.139 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007696/1.302, allocations: 267 kB / 1.139 GB, free: 9.469 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/1.302, allocations: 21.03 kB / 1.139 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.303, allocations: 61.08 kB / 1.139 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/1.303, allocations: 65.73 kB / 1.139 GB, free: 9.453 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.304, allocations: 32.64 kB / 1.139 GB, free: 9.453 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009375/1.305, allocations: 399 kB / 1.14 GB, free: 9.316 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.305, allocations: 0 / 1.14 GB, free: 9.316 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001542/1.306, allocations: 258.5 kB / 1.14 GB, free: 9.27 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 (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.001924/1.308, allocations: 0.5559 MB / 1.14 GB, free: 9.023 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002886/1.311, allocations: 0.7382 MB / 1.141 GB, free: 8.797 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.311, allocations: 1.125 kB / 1.141 GB, free: 8.797 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/1.313, allocations: 483.5 kB / 1.142 GB, free: 8.613 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.315, allocations: 238.3 kB / 1.142 GB, free: 8.543 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007029/1.322, allocations: 1.987 MB / 1.144 GB, free: 7.441 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008941/1.323, allocations: 0.9855 MB / 1.145 GB, free: 6.633 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001672/1.325, allocations: 250.4 kB / 1.145 GB, free: 6.508 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/1.325, allocations: 91.58 kB / 1.145 GB, free: 6.488 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.325, allocations: 0 / 1.145 GB, free: 6.488 MB / 0.698 GB Notification: Performance of Templates: time 0.04004/1.365, allocations: 12.16 MB / 1.157 GB, free: 400 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)