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.402/1.402, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 179.3 kB / 326.5 MB, free: 2.258 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.108/2.108, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.00104/0.00104, allocations: 97.17 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004913, allocations: 10.28 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3289, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.772/6.101, allocations: 2.19 GB / 3.09 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/6.101, allocations: 101.5 kB / 3.09 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1357/6.237, allocations: 57.92 MB / 3.147 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.547e-06/6.237, allocations: 0 / 3.147 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001197/6.237, allocations: 23.56 kB / 3.147 GB, free: 238.4 MB / 0.8855 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.003151/6.24, allocations: 1.153 MB / 3.148 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/6.24, allocations: 15.72 kB / 3.148 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004165/6.241, allocations: 133.5 kB / 3.148 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/6.242, allocations: 181.8 kB / 3.148 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/6.243, allocations: 0.6043 MB / 3.149 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/6.243, allocations: 62.12 kB / 3.149 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/6.244, allocations: 76.25 kB / 3.149 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/6.245, allocations: 0.8456 MB / 3.15 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/6.245, allocations: 0 / 3.15 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/6.245, allocations: 37.16 kB / 3.15 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/6.245, allocations: 23.36 kB / 3.15 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/6.247, allocations: 1.064 MB / 3.151 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/6.251, allocations: 2.388 MB / 3.153 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/6.253, allocations: 0.8106 MB / 3.154 GB, free: 236 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.367e-05/6.253, allocations: 27.05 kB / 3.154 GB, free: 236 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/6.253, allocations: 429.3 kB / 3.154 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 4.399e-06/6.253, allocations: 3.938 kB / 3.154 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002911/6.256, allocations: 1.096 MB / 3.155 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/6.256, allocations: 246.1 kB / 3.156 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008721/6.257, allocations: 0.5697 MB / 3.156 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/6.257, allocations: 43.36 kB / 3.156 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/6.258, allocations: 368.3 kB / 3.157 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/6.258, allocations: 234.8 kB / 3.157 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/6.258, allocations: 14.47 kB / 3.157 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001381/6.258, allocations: 375 kB / 3.157 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/6.258, allocations: 215.9 kB / 3.157 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/6.259, allocations: 335.4 kB / 3.158 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/6.259, allocations: 262.2 kB / 3.158 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/6.259, allocations: 3.938 kB / 3.158 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001599/6.261, allocations: 0.7277 MB / 3.159 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/6.261, allocations: 3.906 kB / 3.159 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/6.261, allocations: 7.906 kB / 3.159 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/6.262, allocations: 79 kB / 3.159 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/6.262, allocations: 143.3 kB / 3.159 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/6.264, allocations: 1.535 MB / 3.16 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/6.265, allocations: 80.97 kB / 3.16 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/6.265, allocations: 27.11 kB / 3.16 GB, free: 232.7 MB / 0.8855 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.0004835/6.265, allocations: 250.8 kB / 3.161 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/6.265, allocations: 74.17 kB / 3.161 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/6.267, allocations: 1.038 MB / 3.162 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/6.267, allocations: 7.812 kB / 3.162 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/6.267, allocations: 0 / 3.162 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/6.267, allocations: 3.984 kB / 3.162 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/6.27, allocations: 1.903 MB / 3.164 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/6.27, allocations: 0 / 3.164 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/6.271, allocations: 152.5 kB / 3.164 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/6.271, allocations: 86.58 kB / 3.164 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/6.271, allocations: 27.11 kB / 3.164 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/6.273, allocations: 1.563 MB / 3.165 GB, free: 230 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/6.273, allocations: 0 / 3.165 GB, free: 230 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/6.275, allocations: 0.9287 MB / 3.166 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/6.275, allocations: 280 kB / 3.167 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/6.275, allocations: 15.03 kB / 3.167 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/6.276, allocations: 69.86 kB / 3.167 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/6.276, allocations: 56.12 kB / 3.167 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/6.276, allocations: 31.3 kB / 3.167 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006088/6.277, allocations: 475.9 kB / 3.167 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/6.277, allocations: 0 / 3.167 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001144/6.278, allocations: 342.5 kB / 3.168 GB, free: 229.3 MB / 0.8855 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.00352/6.281, allocations: 2.407 MB / 3.17 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00129/6.283, allocations: 0.7206 MB / 3.171 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/6.283, allocations: 3.906 kB / 3.171 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/6.283, allocations: 0.4946 MB / 3.171 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/6.284, allocations: 237.7 kB / 3.171 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/6.293, allocations: 4.942 MB / 3.176 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/6.293, allocations: 1.022 MB / 3.177 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008408/6.294, allocations: 246.1 kB / 3.177 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/6.295, allocations: 350.2 kB / 3.178 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of SimCode: time 9.21e-07/6.295, allocations: 0 / 3.178 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/6.344, allocations: 28.76 MB / 3.206 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/6.344, allocations: 290.8 kB / 3.206 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/9.577, allocations: 0 / 3.206 GB, free: 209.8 MB / 0.8855 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)