Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.526/2.526, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001626/0.001626, allocations: 188.8 kB / 360.6 MB, free: 7.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 2.09/2.09, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 91.59 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.699e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8565, allocations: 115.3 MB / 0.9634 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.306/7.162, allocations: 2.071 GB / 3.034 GB, free: 47.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/7.162, allocations: 93.86 kB / 3.034 GB, free: 47.33 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8698/8.032, allocations: 57.16 MB / 3.09 GB, free: 319.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.575e-06/8.032, allocations: 0.8438 kB / 3.09 GB, free: 319.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001016/8.032, allocations: 24.84 kB / 3.09 GB, free: 319.6 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.002558/8.035, allocations: 1.04 MB / 3.091 GB, free: 319.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.025e-05/8.035, allocations: 8.875 kB / 3.091 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/8.037, allocations: 193.1 kB / 3.091 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/8.038, allocations: 0.608 MB / 3.092 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/8.038, allocations: 27.84 kB / 3.092 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/8.039, allocations: 47.75 kB / 3.092 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002325/8.041, allocations: 0.976 MB / 3.093 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/8.043, allocations: 0.7093 MB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/8.043, allocations: 0 / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/8.043, allocations: 6.234 kB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/8.043, allocations: 16.5 kB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005963/8.049, allocations: 2.233 MB / 3.096 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/8.051, allocations: 0.7234 MB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/8.051, allocations: 244.1 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/8.052, allocations: 34.44 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009724/8.052, allocations: 389.7 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.639e-06/8.053, allocations: 2.406 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002694/8.055, allocations: 0.6448 MB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/8.055, allocations: 240.7 kB / 3.098 GB, free: 317.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/8.056, allocations: 497.4 kB / 3.099 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/8.057, allocations: 26.95 kB / 3.099 GB, free: 317.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/8.057, allocations: 374.2 kB / 3.099 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/8.057, allocations: 235 kB / 3.099 GB, free: 316.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/8.057, allocations: 2.844 kB / 3.099 GB, free: 316.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001406/8.058, allocations: 378.8 kB / 3.1 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/8.058, allocations: 189 kB / 3.1 GB, free: 316.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/8.059, allocations: 288.1 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/8.059, allocations: 231.5 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/8.059, allocations: 0.8438 kB / 3.1 GB, free: 316.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002497/8.062, allocations: 0.6392 MB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/8.062, allocations: 13 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/8.062, allocations: 0 / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009751/8.063, allocations: 79.47 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/8.064, allocations: 138 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/8.067, allocations: 1.445 MB / 3.103 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/8.068, allocations: 70.03 kB / 3.103 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/8.068, allocations: 28.59 kB / 3.103 GB, free: 315.2 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 () * 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.0002668/8.069, allocations: 120 kB / 3.103 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002617/8.071, allocations: 0.6486 MB / 3.103 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/8.071, allocations: 76.19 kB / 3.103 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/8.075, allocations: 0.9154 MB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.941e-05/8.075, allocations: 9.469 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/8.075, allocations: 2 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/8.075, allocations: 5.797 kB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/8.08, allocations: 1.694 MB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/8.08, allocations: 0 / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/8.081, allocations: 147.2 kB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008545/8.082, allocations: 87.97 kB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/8.082, allocations: 14.56 kB / 3.106 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/8.084, allocations: 1.484 MB / 3.108 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/8.084, allocations: 1.969 kB / 3.108 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/8.087, allocations: 0.8251 MB / 3.109 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008252/8.088, allocations: 283 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/8.088, allocations: 2.312 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/8.089, allocations: 48.66 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/8.089, allocations: 65.02 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.985e-05/8.089, allocations: 30.27 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007736/8.09, allocations: 402.2 kB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.81e-07/8.09, allocations: 0 / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001711/8.092, allocations: 307.6 kB / 3.11 GB, free: 312.8 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) * 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.005333/8.097, allocations: 2.312 MB / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002097/8.099, allocations: 0.6411 MB / 3.112 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/8.1, allocations: 1.062 kB / 3.112 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/8.101, allocations: 451.2 kB / 3.113 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/8.103, allocations: 215 kB / 3.113 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/8.11, allocations: 1.457 MB / 3.115 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007785/8.11, allocations: 1.018 MB / 3.116 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001672/8.112, allocations: 256.3 kB / 3.116 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009175/8.113, allocations: 346.8 kB / 3.116 GB, free: 310.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/8.113, allocations: 0 / 3.116 GB, free: 310.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09901/8.212, allocations: 22.71 MB / 3.138 GB, free: 309 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/8.212, allocations: 209.6 kB / 3.139 GB, free: 308.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.645/11.86, allocations: 1.281 kB / 3.139 GB, free: 308.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)