Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.424/1.424, allocations: 288.4 MB / 303.6 MB, free: 8.137 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.0008671/0.0008672, allocations: 177.5 kB / 372.2 MB, free: 10.13 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.172/1.172, allocations: 205.4 MB / 0.631 GB, free: 9.828 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.0007394/0.0007394, allocations: 97.81 kB / 0.7444 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 15.47 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1461, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003169/0.1493, allocations: 3.51 MB / 0.9836 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4452/0.5945, allocations: 136.4 MB / 1.117 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005628/0.5951, allocations: 22.06 kB / 1.117 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.5956, allocations: 123.2 kB / 1.117 GB, free: 2.336 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.001214/0.5969, allocations: 347.7 kB / 1.117 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.5985, allocations: 0.5811 MB / 1.118 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.5996, allocations: 1.021 MB / 1.119 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008943/0.6005, allocations: 0.561 MB / 1.119 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.6012, allocations: 286.1 kB / 1.12 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.6018, allocations: 307.1 kB / 1.12 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.602, allocations: 21.88 kB / 1.12 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008387/0.6029, allocations: 272.3 kB / 1.12 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.6031, allocations: 171.2 kB / 1.12 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.6036, allocations: 383.1 kB / 1.121 GB, free: 17.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.6047, allocations: 1.022 MB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6047, allocations: 2.812 kB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6047, allocations: 0 / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.706e-05/0.6047, allocations: 0 / 1.122 GB, free: 17.45 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.002029/0.6068, allocations: 1.09 MB / 1.123 GB, free: 16.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6068, allocations: 9.562 kB / 1.123 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.607, allocations: 126.2 kB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.6078, allocations: 185.6 kB / 1.123 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009066/0.6088, allocations: 0.7084 MB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.6088, allocations: 56.44 kB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.6089, allocations: 74.41 kB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.6102, allocations: 0.8348 MB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.6102, allocations: 4 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.6103, allocations: 35.25 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.6103, allocations: 20.38 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.6117, allocations: 1.051 MB / 1.126 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.6147, allocations: 2.391 MB / 1.128 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.6157, allocations: 0.7221 MB / 1.129 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.6161, allocations: 277.9 kB / 1.129 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.657e-05/0.6162, allocations: 29.83 kB / 1.129 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/0.6168, allocations: 428.9 kB / 1.13 GB, free: 15.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.023e-06/0.6168, allocations: 1.859 kB / 1.13 GB, free: 15.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002406/0.6193, allocations: 1.095 MB / 1.131 GB, free: 14.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.6193, allocations: 187.2 kB / 1.131 GB, free: 14.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/0.6199, allocations: 0.5563 MB / 1.131 GB, free: 14.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.6199, allocations: 38.86 kB / 1.131 GB, free: 14.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.6202, allocations: 371.7 kB / 1.132 GB, free: 14.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.6203, allocations: 230.6 kB / 1.132 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.6203, allocations: 11.53 kB / 1.132 GB, free: 14.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6205, allocations: 377.6 kB / 1.132 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.6209, allocations: 217.2 kB / 1.133 GB, free: 13.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.6213, allocations: 323.4 kB / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.6221, allocations: 0.5318 MB / 1.133 GB, free: 13.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6221, allocations: 0 / 1.133 GB, free: 13.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001386/0.6235, allocations: 0.7244 MB / 1.134 GB, free: 13.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6235, allocations: 6.062 kB / 1.134 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.6236, allocations: 0 / 1.134 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.6241, allocations: 86.45 kB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.6246, allocations: 136 kB / 1.134 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.6263, allocations: 1.53 MB / 1.136 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.6268, allocations: 79.41 kB / 1.136 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.6269, allocations: 33.31 kB / 1.136 GB, free: 12.32 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.0003008/0.6272, allocations: 256.1 kB / 1.136 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6273, allocations: 70.94 kB / 1.136 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.6292, allocations: 0.9909 MB / 1.137 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6292, allocations: 7.781 kB / 1.137 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.6292, allocations: 0 / 1.137 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6293, allocations: 9.141 kB / 1.137 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.6301, allocations: 0.8321 MB / 1.138 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6301, allocations: 0 / 1.138 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.6306, allocations: 141.6 kB / 1.138 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.6311, allocations: 86.86 kB / 1.138 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.6311, allocations: 26.2 kB / 1.138 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.6327, allocations: 1.563 MB / 1.14 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6327, allocations: 0 / 1.14 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.6343, allocations: 0.8313 MB / 1.141 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.6346, allocations: 274.7 kB / 1.141 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.6347, allocations: 20.41 kB / 1.141 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.6352, allocations: 65.42 kB / 1.141 GB, free: 9.547 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.6353, allocations: 59.38 kB / 1.141 GB, free: 9.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.6354, allocations: 34.7 kB / 1.141 GB, free: 9.512 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004652/0.6359, allocations: 418.7 kB / 1.141 GB, free: 9.355 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6359, allocations: 0 / 1.141 GB, free: 9.355 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000693/0.6366, allocations: 262.2 kB / 1.142 GB, free: 9.305 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.002742/0.6393, allocations: 1.838 MB / 1.144 GB, free: 8.367 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.6406, allocations: 0.7252 MB / 1.144 GB, free: 8.148 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6406, allocations: 0 / 1.144 GB, free: 8.148 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.6413, allocations: 485.5 kB / 1.145 GB, free: 7.969 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.6424, allocations: 247.5 kB / 1.145 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008122/0.6505, allocations: 4.592 MB / 1.149 GB, free: 5.906 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.651, allocations: 0.9897 MB / 1.15 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007311/0.6518, allocations: 249.2 kB / 1.151 GB, free: 4.973 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.6522, allocations: 348.6 kB / 1.151 GB, free: 4.922 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/0.6522, allocations: 0 / 1.151 GB, free: 4.922 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3948/1.047, allocations: 19.52 MB / 1.17 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/1.047, allocations: 274.8 kB / 1.17 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.623, allocations: 0 / 1.17 GB, free: 11.14 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)