Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.133 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.001508/0.001508, allocations: 180.5 kB / 315.4 MB, free: 4.004 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.143/2.143, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001081/0.001081, allocations: 98.12 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.943e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2199, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.86/8.08, allocations: 2.19 GB / 3.074 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/8.081, allocations: 95.25 kB / 3.074 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2138/8.295, allocations: 56.79 MB / 3.13 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.334e-06/8.295, allocations: 0 / 3.13 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.346e-05/8.295, allocations: 24 kB / 3.13 GB, free: 129.8 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00244/8.297, allocations: 1.039 MB / 3.131 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/8.297, allocations: 8.031 kB / 3.131 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/8.299, allocations: 182.6 kB / 3.131 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/8.301, allocations: 0.6075 MB / 3.131 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/8.301, allocations: 28 kB / 3.131 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/8.301, allocations: 48 kB / 3.131 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002225/8.303, allocations: 0.9718 MB / 3.132 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/8.305, allocations: 0.7115 MB / 3.133 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/8.305, allocations: 3.953 kB / 3.133 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/8.305, allocations: 7.984 kB / 3.133 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/8.305, allocations: 20 kB / 3.133 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00591/8.311, allocations: 2.224 MB / 3.135 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/8.313, allocations: 0.7252 MB / 3.136 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/8.313, allocations: 243.2 kB / 3.136 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/8.313, allocations: 32.78 kB / 3.136 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/8.314, allocations: 399.7 kB / 3.137 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.808e-06/8.314, allocations: 0 / 3.137 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002444/8.317, allocations: 0.6419 MB / 3.137 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/8.317, allocations: 244.1 kB / 3.137 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/8.318, allocations: 0.4905 MB / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/8.318, allocations: 29.7 kB / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/8.318, allocations: 376.2 kB / 3.138 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/8.319, allocations: 220.6 kB / 3.139 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/8.319, allocations: 0 / 3.139 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/8.319, allocations: 374.8 kB / 3.139 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/8.319, allocations: 193.5 kB / 3.139 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/8.32, allocations: 287.5 kB / 3.139 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/8.321, allocations: 228.5 kB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/8.321, allocations: 4 kB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002334/8.323, allocations: 0.6407 MB / 3.14 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/8.323, allocations: 11.95 kB / 3.14 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/8.323, allocations: 3.938 kB / 3.14 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009653/8.324, allocations: 84.83 kB / 3.14 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/8.325, allocations: 143.8 kB / 3.14 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/8.328, allocations: 1.445 MB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/8.329, allocations: 59.56 kB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/8.329, allocations: 27.97 kB / 3.142 GB, free: 116.7 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 (75): * Single equations (assignments): 74 * 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.0002609/8.329, allocations: 120.3 kB / 3.142 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00233/8.332, allocations: 0.6562 MB / 3.143 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/8.332, allocations: 71.16 kB / 3.143 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/8.335, allocations: 0.9145 MB / 3.144 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/8.335, allocations: 11.94 kB / 3.144 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/8.335, allocations: 3.953 kB / 3.144 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/8.335, allocations: 7.984 kB / 3.144 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/8.34, allocations: 1.695 MB / 3.145 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/8.34, allocations: 0 / 3.145 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/8.341, allocations: 143.8 kB / 3.145 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000861/8.342, allocations: 80.78 kB / 3.146 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-05/8.342, allocations: 19.97 kB / 3.146 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/8.344, allocations: 1.481 MB / 3.147 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/8.344, allocations: 0 / 3.147 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/8.347, allocations: 0.8298 MB / 3.148 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/8.347, allocations: 275.8 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/8.348, allocations: 7.984 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009992/8.349, allocations: 51.95 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/8.349, allocations: 60.69 kB / 3.148 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.13e-05/8.349, allocations: 31.98 kB / 3.148 GB, free: 110 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006759/8.35, allocations: 402.9 kB / 3.149 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/8.35, allocations: 0 / 3.149 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00141/8.351, allocations: 299.1 kB / 3.149 GB, free: 109.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 (87): * Single equations (assignments): 84 * 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.004774/8.356, allocations: 2.32 MB / 3.151 GB, free: 107 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0019/8.358, allocations: 0.6432 MB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/8.358, allocations: 0 / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/8.359, allocations: 444.7 kB / 3.152 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/8.361, allocations: 214.8 kB / 3.152 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/8.367, allocations: 1.451 MB / 3.154 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/8.367, allocations: 1.027 MB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001392/8.369, allocations: 257.7 kB / 3.155 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007138/8.37, allocations: 351.3 kB / 3.155 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.123e-06/8.37, allocations: 0 / 3.155 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09398/8.464, allocations: 22.71 MB / 3.178 GB, free: 79.99 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/8.464, allocations: 205.7 kB / 3.178 GB, free: 79.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/11.97, allocations: 0 / 3.178 GB, free: 79.7 MB / 0.8698 GB