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 1.775/1.775, allocations: 287.4 MB / 303.2 MB, free: 8.211 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.001094/0.001094, allocations: 174.4 kB / 371.8 MB, free: 10.82 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.582/1.582, allocations: 205.4 MB / 0.6304 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.0007673/0.0007673, allocations: 105.6 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.000359, allocations: 14.64 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2129, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003961/0.2169, allocations: 3.506 MB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5741/0.7911, allocations: 136.4 MB / 1.116 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.7917, allocations: 16.33 kB / 1.116 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.7922, allocations: 128.4 kB / 1.116 GB, free: 1.613 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.001073/0.7932, allocations: 342.8 kB / 1.116 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.795, allocations: 0.5926 MB / 1.117 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.7963, allocations: 1.021 MB / 1.118 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009583/0.7972, allocations: 0.569 MB / 1.119 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.7977, allocations: 279.5 kB / 1.119 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.7982, allocations: 306.3 kB / 1.119 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.848e-05/0.7982, allocations: 20.75 kB / 1.119 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007079/0.799, allocations: 268.8 kB / 1.119 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.7992, allocations: 158.9 kB / 1.12 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.7994, allocations: 174.2 kB / 1.12 GB, free: 16.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.8008, allocations: 1.027 MB / 1.121 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8008, allocations: 0 / 1.121 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8008, allocations: 0.9062 kB / 1.121 GB, free: 16.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.8008, allocations: 0 / 1.121 GB, free: 16.82 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.001817/0.8027, allocations: 1.091 MB / 1.122 GB, free: 16.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.8027, allocations: 12.67 kB / 1.122 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007781/0.8035, allocations: 177.2 kB / 1.122 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/0.8044, allocations: 0.7009 MB / 1.123 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.8045, allocations: 58.91 kB / 1.123 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.8046, allocations: 74.3 kB / 1.123 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.8059, allocations: 0.8375 MB / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.806, allocations: 0 / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/0.806, allocations: 30.03 kB / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.8061, allocations: 24.67 kB / 1.124 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.8075, allocations: 1.057 MB / 1.125 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.8108, allocations: 2.379 MB / 1.127 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.812, allocations: 0.722 MB / 1.128 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/0.8125, allocations: 277.1 kB / 1.128 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.8125, allocations: 33.58 kB / 1.128 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.8133, allocations: 427 kB / 1.128 GB, free: 14.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.126e-06/0.8133, allocations: 0 / 1.128 GB, free: 14.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002619/0.8159, allocations: 1.088 MB / 1.129 GB, free: 14.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.816, allocations: 189 kB / 1.13 GB, free: 14.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.8166, allocations: 0.5617 MB / 1.13 GB, free: 14.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.8167, allocations: 38.45 kB / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.8169, allocations: 362.4 kB / 1.131 GB, free: 13.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.8171, allocations: 229.7 kB / 1.131 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.8172, allocations: 15.31 kB / 1.131 GB, free: 13.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8173, allocations: 379.4 kB / 1.131 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.8177, allocations: 239.5 kB / 1.131 GB, free: 13.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.8182, allocations: 325.2 kB / 1.132 GB, free: 13.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008634/0.8191, allocations: 0.5603 MB / 1.132 GB, free: 13.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8191, allocations: 7.031 kB / 1.132 GB, free: 13.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001556/0.8207, allocations: 0.7671 MB / 1.133 GB, free: 13.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8207, allocations: 6.594 kB / 1.133 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8207, allocations: 0 / 1.133 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.8213, allocations: 83.75 kB / 1.133 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.8219, allocations: 150.1 kB / 1.133 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.8237, allocations: 1.53 MB / 1.135 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/0.8243, allocations: 86.05 kB / 1.135 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.8244, allocations: 37.44 kB / 1.135 GB, free: 11.84 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.0003608/0.8248, allocations: 254.3 kB / 1.135 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.8249, allocations: 71.94 kB / 1.135 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.827, allocations: 0.9909 MB / 1.136 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.827, allocations: 8.344 kB / 1.136 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.827, allocations: 1.469 kB / 1.136 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.8273, allocations: 267.2 kB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.8274, allocations: 19.12 kB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.8279, allocations: 62.5 kB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.828, allocations: 60.08 kB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001679/0.8297, allocations: 0.8703 MB / 1.137 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001827/0.8316, allocations: 1.273 MB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005056/0.8321, allocations: 314.6 kB / 1.139 GB, free: 10.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004948/0.8326, allocations: 420.5 kB / 1.139 GB, free: 10.83 MB / 0.698 GB Notification: Performance of Backend: time 7.91e-07/0.8326, allocations: 1.859 kB / 1.139 GB, free: 10.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002768/0.8354, allocations: 1.111 MB / 1.14 GB, free: 10.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.002907/0.8383, allocations: 2.229 MB / 1.143 GB, free: 9.023 MB / 0.698 GB Notification: Performance of Templates: time 0.02483/0.8631, allocations: 13.49 MB / 1.156 GB, free: 2.25 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)