Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.236/2.236, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001519/0.001519, allocations: 180.3 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.046/2.046, 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.001125/0.001125, allocations: 86.7 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.249e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2149, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.366/7.581, allocations: 2.19 GB / 3.074 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/7.582, allocations: 98.73 kB / 3.074 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.215/7.797, allocations: 56.69 MB / 3.129 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/7.797, allocations: 0 / 3.129 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.765e-05/7.797, allocations: 24 kB / 3.129 GB, free: 129.9 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002209/7.799, allocations: 1.031 MB / 3.13 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/7.799, allocations: 12.03 kB / 3.13 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/7.801, allocations: 182.6 kB / 3.131 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/7.802, allocations: 0.6075 MB / 3.131 GB, free: 128 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/7.802, allocations: 28 kB / 3.131 GB, free: 128 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/7.802, allocations: 44 kB / 3.131 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002109/7.804, allocations: 0.9679 MB / 3.132 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/7.806, allocations: 0.7115 MB / 3.133 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/7.806, allocations: 7.891 kB / 3.133 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/7.806, allocations: 0 / 3.133 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/7.806, allocations: 20 kB / 3.133 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005276/7.812, allocations: 2.212 MB / 3.135 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/7.813, allocations: 0.7209 MB / 3.136 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/7.814, allocations: 234.5 kB / 3.136 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/7.814, allocations: 36.45 kB / 3.136 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008022/7.815, allocations: 387.6 kB / 3.136 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/7.815, allocations: 0 / 3.136 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.002499/7.817, allocations: 0.6456 MB / 3.137 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/7.817, allocations: 240.1 kB / 3.137 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/7.818, allocations: 0.4944 MB / 3.138 GB, free: 121 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002083/7.819, allocations: 25.7 kB / 3.138 GB, free: 121 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/7.819, allocations: 372.3 kB / 3.138 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/7.819, allocations: 224.5 kB / 3.138 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/7.819, allocations: 0 / 3.138 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001306/7.819, allocations: 374.8 kB / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/7.82, allocations: 181.5 kB / 3.139 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/7.82, allocations: 291.5 kB / 3.139 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/7.821, allocations: 232.5 kB / 3.139 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/7.821, allocations: 0 / 3.139 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002267/7.823, allocations: 0.6407 MB / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/7.823, allocations: 11.95 kB / 3.14 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/7.823, allocations: 0 / 3.14 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009698/7.824, allocations: 80.84 kB / 3.14 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/7.826, allocations: 143.8 kB / 3.14 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/7.828, allocations: 1.446 MB / 3.142 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/7.829, allocations: 67.58 kB / 3.142 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/7.829, allocations: 23.98 kB / 3.142 GB, free: 116.8 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 (74): * Single equations (assignments): 73 * 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.0002389/7.829, allocations: 120.9 kB / 3.142 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00229/7.832, allocations: 0.6485 MB / 3.142 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/7.832, allocations: 71.06 kB / 3.143 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/7.835, allocations: 0.9104 MB / 3.143 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/7.835, allocations: 8 kB / 3.143 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/7.835, allocations: 3.953 kB / 3.143 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/7.835, allocations: 11.95 kB / 3.143 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/7.84, allocations: 1.688 MB / 3.145 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/7.84, allocations: 0 / 3.145 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/7.841, allocations: 147.8 kB / 3.145 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008293/7.842, allocations: 80.78 kB / 3.145 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/7.842, allocations: 11.98 kB / 3.145 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/7.844, allocations: 1.485 MB / 3.147 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/7.844, allocations: 0 / 3.147 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/7.847, allocations: 0.8221 MB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/7.847, allocations: 283.8 kB / 3.148 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/7.848, allocations: 0 / 3.148 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/7.849, allocations: 59.88 kB / 3.148 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/7.849, allocations: 56.7 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/7.849, allocations: 31.97 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006678/7.85, allocations: 402.9 kB / 3.148 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/7.85, allocations: 0 / 3.148 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001361/7.851, allocations: 299.1 kB / 3.149 GB, free: 109.4 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 (86): * Single equations (assignments): 83 * 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.004647/7.856, allocations: 2.304 MB / 3.151 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001844/7.857, allocations: 0.6432 MB / 3.152 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/7.858, allocations: 4 kB / 3.152 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/7.859, allocations: 444.6 kB / 3.152 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/7.86, allocations: 222.7 kB / 3.152 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/7.866, allocations: 1.447 MB / 3.154 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/7.867, allocations: 1.023 MB / 3.155 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001387/7.868, allocations: 253.7 kB / 3.155 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007525/7.869, allocations: 343.3 kB / 3.155 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/7.869, allocations: 0 / 3.155 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08462/7.954, allocations: 22.65 MB / 3.177 GB, free: 80.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/7.954, allocations: 221.6 kB / 3.178 GB, free: 79.89 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/11.63, allocations: 3.125 kB / 3.178 GB, free: 79.89 MB / 0.8698 GB