Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.803/1.803, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001236/0.001236, allocations: 195.3 kB / 371.8 MB, free: 10.27 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.861/1.861, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001087/0.001087, allocations: 97.67 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004435, allocations: 14.61 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2554, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.695/5.95, allocations: 2.072 GB / 3.051 GB, free: 198.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/5.951, allocations: 95.75 kB / 3.051 GB, free: 198.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1253/6.076, allocations: 58.28 MB / 3.108 GB, free: 149.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.796e-06/6.076, allocations: 0 / 3.108 GB, free: 149.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000117/6.076, allocations: 24 kB / 3.108 GB, free: 149.3 MB / 0.948 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.002931/6.079, allocations: 1.16 MB / 3.109 GB, free: 148.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/6.079, allocations: 8.031 kB / 3.109 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003269/6.079, allocations: 126.9 kB / 3.11 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/6.08, allocations: 193.8 kB / 3.11 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/6.082, allocations: 0.6095 MB / 3.11 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/6.082, allocations: 61.94 kB / 3.11 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/6.082, allocations: 72 kB / 3.11 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/6.083, allocations: 0.8442 MB / 3.111 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/6.083, allocations: 3.984 kB / 3.111 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/6.083, allocations: 36 kB / 3.111 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/6.083, allocations: 20 kB / 3.111 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/6.085, allocations: 1.069 MB / 3.112 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/6.089, allocations: 2.387 MB / 3.115 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/6.09, allocations: 0.809 MB / 3.116 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/6.09, allocations: 32.69 kB / 3.116 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006882/6.091, allocations: 435.2 kB / 3.116 GB, free: 141.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.108e-06/6.091, allocations: 0 / 3.116 GB, free: 141.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002766/6.094, allocations: 1.106 MB / 3.117 GB, free: 140.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/6.094, allocations: 244 kB / 3.117 GB, free: 139.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/6.095, allocations: 0.5658 MB / 3.118 GB, free: 139.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/6.095, allocations: 37.7 kB / 3.118 GB, free: 139.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/6.095, allocations: 364.4 kB / 3.118 GB, free: 138.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/6.095, allocations: 248.4 kB / 3.118 GB, free: 138.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/6.095, allocations: 16 kB / 3.118 GB, free: 138.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001038/6.095, allocations: 374.8 kB / 3.119 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/6.096, allocations: 217.2 kB / 3.119 GB, free: 138.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/6.096, allocations: 331.6 kB / 3.119 GB, free: 137.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/6.097, allocations: 263.1 kB / 3.12 GB, free: 137.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/6.097, allocations: 0 / 3.12 GB, free: 137.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001551/6.098, allocations: 0.7275 MB / 3.12 GB, free: 136.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/6.098, allocations: 7.953 kB / 3.12 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/6.098, allocations: 4 kB / 3.12 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/6.099, allocations: 76.84 kB / 3.12 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/6.099, allocations: 143.8 kB / 3.121 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/6.101, allocations: 1.521 MB / 3.122 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/6.102, allocations: 79.48 kB / 3.122 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/6.102, allocations: 31.92 kB / 3.122 GB, free: 134.7 MB / 0.948 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 () * Number of clocked 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.0004332/6.102, allocations: 245.7 kB / 3.122 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/6.103, allocations: 79.02 kB / 3.122 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/6.105, allocations: 1.033 MB / 3.123 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/6.105, allocations: 8 kB / 3.123 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/6.105, allocations: 0 / 3.123 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/6.105, allocations: 7.984 kB / 3.123 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/6.108, allocations: 1.919 MB / 3.125 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/6.108, allocations: 3.938 kB / 3.125 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/6.108, allocations: 147.8 kB / 3.125 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/6.109, allocations: 88.72 kB / 3.126 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/6.109, allocations: 19.98 kB / 3.126 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/6.111, allocations: 1.571 MB / 3.127 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/6.111, allocations: 0 / 3.127 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/6.113, allocations: 0.922 MB / 3.128 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/6.113, allocations: 279.7 kB / 3.128 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/6.113, allocations: 20 kB / 3.128 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/6.114, allocations: 63.95 kB / 3.128 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/6.114, allocations: 64.91 kB / 3.128 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/6.114, allocations: 31.98 kB / 3.128 GB, free: 128 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006078/6.115, allocations: 475 kB / 3.129 GB, free: 127.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.115, allocations: 0 / 3.129 GB, free: 127.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001169/6.116, allocations: 323.2 kB / 3.129 GB, free: 127.2 MB / 0.948 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) * Number of clocked states: 0 () * 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.003376/6.119, allocations: 2.398 MB / 3.132 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001346/6.121, allocations: 0.7284 MB / 3.132 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/6.121, allocations: 0 / 3.132 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007054/6.121, allocations: 0.5 MB / 3.133 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/6.123, allocations: 246 kB / 3.133 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007572/6.13, allocations: 4.948 MB / 3.138 GB, free: 118.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/6.131, allocations: 1.027 MB / 3.139 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008447/6.131, allocations: 254.1 kB / 3.139 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/6.132, allocations: 347.3 kB / 3.139 GB, free: 116.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/6.132, allocations: 0 / 3.139 GB, free: 116.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04623/6.178, allocations: 28.76 MB / 3.167 GB, free: 88.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/6.178, allocations: 302 kB / 3.168 GB, free: 87.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/9.292, allocations: 0 / 3.168 GB, free: 87.93 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)