Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 248.7 MB / 256.2 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 185.6 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 98.17 kB / 0.6704 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.255e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1911, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.13/7.321, allocations: 2.19 GB / 3.074 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/7.322, allocations: 93.33 kB / 3.074 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2214/7.543, allocations: 56.11 MB / 3.129 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.444e-06/7.543, allocations: 0 / 3.129 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.963e-05/7.543, allocations: 16 kB / 3.129 GB, free: 130.4 MB / 0.8698 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.002561/7.546, allocations: 1.023 MB / 3.13 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/7.546, allocations: 12.03 kB / 3.13 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/7.547, allocations: 182.7 kB / 3.13 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/7.549, allocations: 0.6036 MB / 3.13 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/7.549, allocations: 24 kB / 3.13 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/7.549, allocations: 44 kB / 3.131 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002214/7.552, allocations: 0.9523 MB / 3.131 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/7.553, allocations: 0.692 MB / 3.132 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/7.553, allocations: 3.953 kB / 3.132 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/7.554, allocations: 4 kB / 3.132 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/7.554, allocations: 16 kB / 3.132 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005693/7.559, allocations: 2.189 MB / 3.134 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/7.561, allocations: 0.7094 MB / 3.135 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/7.562, allocations: 230.5 kB / 3.135 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/7.562, allocations: 28.59 kB / 3.135 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008187/7.563, allocations: 384.7 kB / 3.136 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.777e-06/7.563, allocations: 0 / 3.136 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.002522/7.565, allocations: 0.6172 MB / 3.136 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/7.565, allocations: 239.9 kB / 3.136 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009862/7.566, allocations: 0.4903 MB / 3.137 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/7.566, allocations: 33.7 kB / 3.137 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/7.567, allocations: 360.2 kB / 3.137 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/7.567, allocations: 224.6 kB / 3.138 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/7.567, allocations: 0 / 3.138 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001314/7.567, allocations: 378.8 kB / 3.138 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/7.568, allocations: 181.5 kB / 3.138 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/7.568, allocations: 275.5 kB / 3.138 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/7.569, allocations: 228.4 kB / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/7.569, allocations: 0 / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002404/7.571, allocations: 0.6213 MB / 3.139 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/7.572, allocations: 8 kB / 3.139 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/7.572, allocations: 3.938 kB / 3.139 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009676/7.573, allocations: 84.78 kB / 3.139 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/7.574, allocations: 135.8 kB / 3.139 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/7.576, allocations: 1.445 MB / 3.141 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/7.577, allocations: 67.45 kB / 3.141 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/7.578, allocations: 23.98 kB / 3.141 GB, free: 117.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0002528/7.578, allocations: 116.9 kB / 3.141 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002424/7.58, allocations: 0.6162 MB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/7.581, allocations: 71.16 kB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/7.584, allocations: 0.8713 MB / 3.142 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/7.584, allocations: 19.92 kB / 3.142 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/7.584, allocations: 0 / 3.142 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/7.584, allocations: 3.984 kB / 3.142 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/7.589, allocations: 1.64 MB / 3.144 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/7.589, allocations: 3.953 kB / 3.144 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/7.59, allocations: 139.8 kB / 3.144 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008771/7.591, allocations: 80.78 kB / 3.144 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/7.591, allocations: 11.98 kB / 3.144 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/7.594, allocations: 1.485 MB / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/7.594, allocations: 0 / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/7.596, allocations: 0.7948 MB / 3.147 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/7.597, allocations: 275.8 kB / 3.147 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/7.597, allocations: 0 / 3.147 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/7.598, allocations: 55.94 kB / 3.147 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/7.598, allocations: 52.7 kB / 3.147 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/7.599, allocations: 31.98 kB / 3.147 GB, free: 111 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007511/7.599, allocations: 394.9 kB / 3.147 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/7.599, allocations: 0 / 3.147 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001633/7.601, allocations: 295.1 kB / 3.148 GB, free: 110.3 MB / 0.8698 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) * 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.004966/7.606, allocations: 2.281 MB / 3.15 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001957/7.608, allocations: 0.6241 MB / 3.15 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/7.608, allocations: 4 kB / 3.15 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/7.609, allocations: 428.7 kB / 3.151 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/7.611, allocations: 218.7 kB / 3.151 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/7.618, allocations: 1.416 MB / 3.152 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/7.618, allocations: 1.007 MB / 3.153 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001449/7.62, allocations: 241.5 kB / 3.154 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/7.62, allocations: 331.3 kB / 3.154 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/7.62, allocations: 0 / 3.154 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/7.73, allocations: 22.24 MB / 3.176 GB, free: 81.65 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/7.73, allocations: 213.3 kB / 3.176 GB, free: 81.36 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.612/11.34, allocations: 0 / 3.176 GB, free: 81.36 MB / 0.8698 GB