Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_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.226/2.226, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001445/0.001445, allocations: 186 kB / 315.4 MB, free: 4.008 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.031/2.031, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001143/0.001143, allocations: 86.61 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.5e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2135, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.326/7.54, allocations: 2.19 GB / 3.074 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004201/7.54, allocations: 86.17 kB / 3.074 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2487/7.789, allocations: 60.98 MB / 3.133 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.963e-06/7.789, allocations: 0 / 3.133 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.853e-05/7.789, allocations: 27.94 kB / 3.133 GB, free: 109.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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002269/7.791, allocations: 1.027 MB / 3.134 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.071e-05/7.792, allocations: 8.031 kB / 3.135 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/7.793, allocations: 178.7 kB / 3.135 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/7.794, allocations: 0.5998 MB / 3.135 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/7.795, allocations: 28 kB / 3.135 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/7.795, allocations: 44 kB / 3.135 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002098/7.797, allocations: 0.9678 MB / 3.136 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/7.799, allocations: 0.7037 MB / 3.137 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/7.799, allocations: 4 kB / 3.137 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/7.8, allocations: 4 kB / 3.137 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/7.8, allocations: 20 kB / 3.137 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008893/7.809, allocations: 2.235 MB / 3.139 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/7.811, allocations: 0.6495 MB / 3.14 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008137/7.812, allocations: 238.5 kB / 3.14 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/7.812, allocations: 32.59 kB / 3.14 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/7.813, allocations: 384.7 kB / 3.14 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 5.37e-06/7.813, allocations: 0 / 3.14 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.003603/7.817, allocations: 0.6405 MB / 3.141 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/7.817, allocations: 243.9 kB / 3.141 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/7.818, allocations: 498.2 kB / 3.142 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/7.819, allocations: 29.7 kB / 3.142 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/7.819, allocations: 380.1 kB / 3.142 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00033/7.819, allocations: 220.6 kB / 3.142 GB, free: 100 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/7.819, allocations: 0 / 3.142 GB, free: 100 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001616/7.82, allocations: 374.8 kB / 3.143 GB, free: 99.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/7.82, allocations: 189.5 kB / 3.143 GB, free: 99.47 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008525/7.821, allocations: 287.5 kB / 3.143 GB, free: 99.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/7.822, allocations: 240.4 kB / 3.143 GB, free: 98.93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/7.822, allocations: 0 / 3.143 GB, free: 98.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003443/7.826, allocations: 0.6369 MB / 3.144 GB, free: 98.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/7.826, allocations: 7.953 kB / 3.144 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/7.826, allocations: 0 / 3.144 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/7.827, allocations: 88.77 kB / 3.144 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/7.829, allocations: 135.8 kB / 3.144 GB, free: 98.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/7.832, allocations: 1.473 MB / 3.146 GB, free: 96.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/7.834, allocations: 55.53 kB / 3.146 GB, free: 96.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/7.834, allocations: 27.98 kB / 3.146 GB, free: 96.37 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.000325/7.835, allocations: 113 kB / 3.146 GB, free: 96.25 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003659/7.838, allocations: 0.6434 MB / 3.147 GB, free: 95.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/7.839, allocations: 71.16 kB / 3.147 GB, free: 95.53 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005311/7.844, allocations: 0.8947 MB / 3.147 GB, free: 94.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/7.844, allocations: 8 kB / 3.147 GB, free: 94.61 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/7.844, allocations: 3.953 kB / 3.147 GB, free: 94.61 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/7.844, allocations: 3.984 kB / 3.147 GB, free: 94.61 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/7.846, allocations: 0.7476 MB / 3.148 GB, free: 93.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/7.846, allocations: 0 / 3.148 GB, free: 93.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/7.848, allocations: 139.8 kB / 3.148 GB, free: 93.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/7.849, allocations: 80.78 kB / 3.148 GB, free: 93.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/7.849, allocations: 11.98 kB / 3.148 GB, free: 93.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/7.853, allocations: 1.5 MB / 3.15 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/7.853, allocations: 0 / 3.15 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/7.856, allocations: 0.7504 MB / 3.151 GB, free: 91.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/7.857, allocations: 275.8 kB / 3.151 GB, free: 90.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/7.857, allocations: 7.938 kB / 3.151 GB, free: 90.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/7.858, allocations: 51.95 kB / 3.151 GB, free: 90.85 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/7.858, allocations: 56.7 kB / 3.151 GB, free: 90.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/7.858, allocations: 31.97 kB / 3.151 GB, free: 90.76 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006981/7.859, allocations: 398.9 kB / 3.151 GB, free: 90.38 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.2e-07/7.859, allocations: 0 / 3.151 GB, free: 90.38 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001429/7.86, allocations: 299.1 kB / 3.152 GB, free: 90.08 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.conTimMin.tNext,weaDat.conTim.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.004701/7.865, allocations: 2.227 MB / 3.154 GB, free: 87.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001809/7.867, allocations: 0.6511 MB / 3.154 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/7.867, allocations: 4 kB / 3.154 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/7.868, allocations: 432.6 kB / 3.155 GB, free: 86.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/7.87, allocations: 220.9 kB / 3.155 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/7.876, allocations: 1.435 MB / 3.157 GB, free: 85.14 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/7.876, allocations: 1.011 MB / 3.158 GB, free: 84.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001358/7.877, allocations: 253.7 kB / 3.158 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/7.878, allocations: 339.3 kB / 3.158 GB, free: 83.53 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/7.878, allocations: 0 / 3.158 GB, free: 83.53 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08626/7.964, allocations: 22.62 MB / 3.18 GB, free: 60.99 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/7.965, allocations: 194.7 kB / 3.18 GB, free: 60.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.595/11.56, allocations: 2.672 kB / 3.18 GB, free: 60.79 MB / 0.8698 GB