Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.353/2.353, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 178.1 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.558/2.558, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009016/0.0009012, allocations: 94.3 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006482, allocations: 13.25 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.206, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005574/0.2117, allocations: 3.486 MB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2035/0.4152, allocations: 136.4 MB / 1.036 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.416, allocations: 19.88 kB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.4166, allocations: 119 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.001751/0.4184, allocations: 356.5 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.4208, allocations: 0.5704 MB / 1.037 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.4227, allocations: 1.012 MB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4238, allocations: 0.538 MB / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006889/0.4245, allocations: 282.7 kB / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005517/0.4251, allocations: 298.4 kB / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.4252, allocations: 20 kB / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009321/0.4262, allocations: 267.7 kB / 1.039 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.4264, allocations: 163.2 kB / 1.039 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.4267, allocations: 169.2 kB / 1.039 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.4285, allocations: 0.9979 MB / 1.04 GB, free: 284 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4285, allocations: 0 / 1.04 GB, free: 284 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4285, allocations: 0 / 1.04 GB, free: 284 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.4285, allocations: 0 / 1.04 GB, free: 284 kB / 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.003064/0.4316, allocations: 1.085 MB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4317, allocations: 16.02 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.4331, allocations: 183.5 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.4349, allocations: 0.6726 MB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.435, allocations: 58 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.4352, allocations: 76 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.4375, allocations: 0.8247 MB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.4376, allocations: 0 / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.4377, allocations: 32 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.4378, allocations: 20 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.4406, allocations: 1.046 MB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006177/0.4468, allocations: 2.316 MB / 1.047 GB, free: 9.746 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.4492, allocations: 0.7812 MB / 1.047 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008818/0.4501, allocations: 270.4 kB / 1.048 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.4503, allocations: 36.58 kB / 1.048 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.4515, allocations: 417.7 kB / 1.048 GB, free: 8.203 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.868e-06/0.4515, allocations: 0 / 1.048 GB, free: 8.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.004864/0.4564, allocations: 1.062 MB / 1.049 GB, free: 7.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.4565, allocations: 192.4 kB / 1.049 GB, free: 6.883 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.4576, allocations: 0.5537 MB / 1.05 GB, free: 6.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.4578, allocations: 41.7 kB / 1.05 GB, free: 6.273 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.4582, allocations: 356.4 kB / 1.05 GB, free: 5.918 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.4585, allocations: 232.6 kB / 1.05 GB, free: 5.688 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.4585, allocations: 12 kB / 1.05 GB, free: 5.676 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4587, allocations: 374.8 kB / 1.051 GB, free: 5.301 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.4596, allocations: 237.9 kB / 1.051 GB, free: 5.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.4605, allocations: 314.8 kB / 1.051 GB, free: 4.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/0.4615, allocations: 279.1 kB / 1.051 GB, free: 4.477 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.4615, allocations: 0 / 1.051 GB, free: 4.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002995/0.4645, allocations: 0.7548 MB / 1.052 GB, free: 3.711 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.4646, allocations: 4 kB / 1.052 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4646, allocations: 4.094 kB / 1.052 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.4656, allocations: 80.77 kB / 1.052 GB, free: 3.621 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.4668, allocations: 147.8 kB / 1.052 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/0.4699, allocations: 1.52 MB / 1.054 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.4711, allocations: 83.48 kB / 1.054 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.4712, allocations: 35.97 kB / 1.054 GB, free: 1.699 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.0006319/0.4719, allocations: 246.3 kB / 1.054 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.4721, allocations: 75.06 kB / 1.054 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/0.4759, allocations: 0.97 MB / 1.055 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4759, allocations: 8 kB / 1.055 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4759, allocations: 0 / 1.055 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.476, allocations: 3.984 kB / 1.055 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6577/1.134, allocations: 1.779 MB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.134, allocations: 0 / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/1.135, allocations: 142 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/1.137, allocations: 80.89 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/1.137, allocations: 22.31 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003522/1.14, allocations: 1.538 MB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.141, allocations: 5.172 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/1.145, allocations: 0.8895 MB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008095/1.146, allocations: 269.2 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/1.146, allocations: 12.75 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.147, allocations: 68.05 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/1.148, allocations: 59.14 kB / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.148, allocations: 31.78 kB / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001019/1.149, allocations: 397.4 kB / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.31e-07/1.149, allocations: 0 / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001727/1.151, allocations: 258.7 kB / 1.061 GB, free: 154.2 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.002443/1.153, allocations: 0.5634 MB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003506/1.157, allocations: 0.7447 MB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.157, allocations: 0 / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/1.159, allocations: 481 kB / 1.062 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.162, allocations: 256.6 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008971/1.171, allocations: 1.97 MB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/1.172, allocations: 0.9879 MB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002054/1.174, allocations: 247.5 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/1.175, allocations: 96.48 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.175, allocations: 0 / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of Templates: time 0.03833/1.213, allocations: 12.15 MB / 1.078 GB, free: 148.5 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)