Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.902 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.001459/0.001459, allocations: 188.2 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008037/0.0008039, allocations: 93.45 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.564e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2174, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.881/6.099, allocations: 2.19 GB / 3.075 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/6.099, allocations: 99.38 kB / 3.075 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1169/6.216, allocations: 56.77 MB / 3.131 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.383e-06/6.216, allocations: 0 / 3.131 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.376e-05/6.216, allocations: 24 kB / 3.131 GB, free: 124.7 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.001629/6.218, allocations: 1.043 MB / 3.132 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/6.218, allocations: 8.031 kB / 3.132 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008032/6.218, allocations: 186.5 kB / 3.132 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/6.219, allocations: 0.6036 MB / 3.133 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/6.219, allocations: 24 kB / 3.133 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/6.22, allocations: 48 kB / 3.133 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00118/6.221, allocations: 0.9679 MB / 3.134 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/6.222, allocations: 0.7193 MB / 3.134 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/6.222, allocations: 0 / 3.134 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/6.222, allocations: 3.953 kB / 3.134 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/6.222, allocations: 31.98 kB / 3.134 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/6.225, allocations: 2.224 MB / 3.137 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/6.226, allocations: 0.7258 MB / 3.137 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/6.226, allocations: 243.2 kB / 3.138 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/6.226, allocations: 32.8 kB / 3.138 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005517/6.227, allocations: 391.7 kB / 3.138 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/6.227, allocations: 4 kB / 3.138 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001456/6.228, allocations: 0.6458 MB / 3.139 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/6.228, allocations: 244.1 kB / 3.139 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/6.229, allocations: 0.4905 MB / 3.139 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/6.229, allocations: 25.7 kB / 3.139 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/6.229, allocations: 376.2 kB / 3.14 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/6.229, allocations: 228.6 kB / 3.14 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/6.229, allocations: 3.938 kB / 3.14 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001284/6.229, allocations: 370.8 kB / 3.14 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/6.23, allocations: 189.5 kB / 3.14 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/6.23, allocations: 287.5 kB / 3.141 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/6.23, allocations: 228.5 kB / 3.141 GB, free: 114 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/6.23, allocations: 3.938 kB / 3.141 GB, free: 114 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001218/6.232, allocations: 0.6446 MB / 3.142 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/6.232, allocations: 4 kB / 3.142 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/6.232, allocations: 3.953 kB / 3.142 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/6.232, allocations: 80.84 kB / 3.142 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/6.233, allocations: 139.8 kB / 3.142 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/6.234, allocations: 1.453 MB / 3.143 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/6.235, allocations: 63.52 kB / 3.143 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/6.235, allocations: 28.05 kB / 3.143 GB, free: 111.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 (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.0001502/6.235, allocations: 123.1 kB / 3.143 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001204/6.236, allocations: 0.6524 MB / 3.144 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/6.236, allocations: 71.16 kB / 3.144 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/6.238, allocations: 0.9104 MB / 3.145 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/6.238, allocations: 15.98 kB / 3.145 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/6.238, allocations: 0 / 3.145 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/6.238, allocations: 7.938 kB / 3.145 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/6.24, allocations: 1.695 MB / 3.147 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/6.24, allocations: 0 / 3.147 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/6.241, allocations: 151.8 kB / 3.147 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/6.241, allocations: 84.77 kB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/6.241, allocations: 15.98 kB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/6.243, allocations: 1.473 MB / 3.148 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/6.243, allocations: 0 / 3.148 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/6.244, allocations: 0.8338 MB / 3.149 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/6.245, allocations: 279.8 kB / 3.149 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/6.245, allocations: 4 kB / 3.149 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/6.245, allocations: 51.95 kB / 3.15 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/6.245, allocations: 56.69 kB / 3.15 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/6.245, allocations: 35.92 kB / 3.15 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000418/6.246, allocations: 402.9 kB / 3.15 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.246, allocations: 0 / 3.15 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001009/6.247, allocations: 303.1 kB / 3.15 GB, free: 104.1 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.003007/6.25, allocations: 2.318 MB / 3.153 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001192/6.251, allocations: 0.6512 MB / 3.153 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/6.251, allocations: 0 / 3.153 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006023/6.252, allocations: 440.6 kB / 3.154 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/6.253, allocations: 222.7 kB / 3.154 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/6.256, allocations: 1.451 MB / 3.155 GB, free: 99 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/6.257, allocations: 1.023 MB / 3.156 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007216/6.258, allocations: 261.8 kB / 3.156 GB, free: 97.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/6.258, allocations: 347.3 kB / 3.157 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/6.258, allocations: 0 / 3.157 GB, free: 97.36 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04855/6.307, allocations: 22.73 MB / 3.179 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/6.307, allocations: 212.4 kB / 3.179 GB, free: 74.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/9.21, allocations: 0 / 3.179 GB, free: 74.43 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)