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 2.078/2.078, allocations: 285.4 MB / 298 MB, free: 5.973 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.001136/0.001137, allocations: 184.8 kB / 366.4 MB, free: 2.082 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.854/1.854, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.000882/0.0008818, allocations: 92.11 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.854e-05/4.864e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.917/0.917, allocations: 115.3 MB / 0.971 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.077/5.994, allocations: 2.072 GB / 3.043 GB, free: 22.34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/5.994, allocations: 90.83 kB / 3.043 GB, free: 22.29 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7121/6.706, allocations: 58 MB / 3.099 GB, free: 328.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/6.706, allocations: 1.125 kB / 3.099 GB, free: 328.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.112e-05/6.706, allocations: 22.81 kB / 3.099 GB, free: 328.8 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.001651/6.708, allocations: 1.043 MB / 3.1 GB, free: 328.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/6.708, allocations: 9.219 kB / 3.1 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/6.708, allocations: 125.1 kB / 3.101 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008812/6.709, allocations: 183.6 kB / 3.101 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008867/6.71, allocations: 0.6106 MB / 3.101 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/6.71, allocations: 61.06 kB / 3.101 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/6.71, allocations: 78.08 kB / 3.101 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/6.711, allocations: 0.8199 MB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/6.711, allocations: 3.953 kB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/6.711, allocations: 37.34 kB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/6.711, allocations: 19.12 kB / 3.102 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/6.713, allocations: 1.017 MB / 3.103 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/6.716, allocations: 2.379 MB / 3.106 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/6.718, allocations: 0.7739 MB / 3.106 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/6.718, allocations: 261.7 kB / 3.107 GB, free: 325.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-05/6.718, allocations: 34.75 kB / 3.107 GB, free: 325.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006121/6.719, allocations: 411.7 kB / 3.107 GB, free: 324.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.605e-06/6.719, allocations: 3.938 kB / 3.107 GB, free: 324.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001633/6.72, allocations: 0.6853 MB / 3.108 GB, free: 324.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/6.721, allocations: 248.1 kB / 3.108 GB, free: 324.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/6.721, allocations: 0.5641 MB / 3.109 GB, free: 324.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/6.721, allocations: 41.64 kB / 3.109 GB, free: 324.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/6.722, allocations: 362.9 kB / 3.109 GB, free: 323.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/6.722, allocations: 241.4 kB / 3.109 GB, free: 323.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/6.722, allocations: 10.38 kB / 3.109 GB, free: 323.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/6.722, allocations: 381.9 kB / 3.11 GB, free: 323.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/6.722, allocations: 195.2 kB / 3.11 GB, free: 323.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/6.723, allocations: 311.8 kB / 3.11 GB, free: 323 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/6.723, allocations: 244.3 kB / 3.11 GB, free: 322.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/6.723, allocations: 4 kB / 3.11 GB, free: 322.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001816/6.725, allocations: 0.6926 MB / 3.111 GB, free: 322.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/6.725, allocations: 5.656 kB / 3.111 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/6.725, allocations: 4.062 kB / 3.111 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/6.726, allocations: 81.27 kB / 3.111 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/6.726, allocations: 141.2 kB / 3.111 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/6.728, allocations: 1.51 MB / 3.113 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/6.729, allocations: 76.34 kB / 3.113 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/6.729, allocations: 29.95 kB / 3.113 GB, free: 321.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.0001797/6.729, allocations: 142.3 kB / 3.113 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/6.729, allocations: 75.41 kB / 3.113 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/6.731, allocations: 0.9808 MB / 3.114 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/6.731, allocations: 12.23 kB / 3.114 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/6.731, allocations: 1.375 kB / 3.114 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/6.731, allocations: 9.625 kB / 3.114 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/6.735, allocations: 1.856 MB / 3.116 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/6.735, allocations: 4 kB / 3.116 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/6.735, allocations: 152.1 kB / 3.116 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/6.736, allocations: 82.86 kB / 3.116 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/6.736, allocations: 23.39 kB / 3.116 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/6.737, allocations: 1.547 MB / 3.118 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/6.737, allocations: 2.906 kB / 3.118 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/6.739, allocations: 0.8736 MB / 3.118 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/6.739, allocations: 287.7 kB / 3.119 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/6.74, allocations: 16.75 kB / 3.119 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/6.74, allocations: 63.86 kB / 3.119 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/6.74, allocations: 62.73 kB / 3.119 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/6.74, allocations: 34.56 kB / 3.119 GB, free: 317.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006502/6.741, allocations: 472.7 kB / 3.119 GB, free: 317.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/6.741, allocations: 0 / 3.119 GB, free: 317.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001063/6.742, allocations: 326.1 kB / 3.12 GB, free: 317.3 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.003404/6.745, allocations: 2.313 MB / 3.122 GB, free: 316 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001385/6.747, allocations: 0.6792 MB / 3.122 GB, free: 315.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/6.747, allocations: 0.9688 kB / 3.122 GB, free: 315.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007614/6.748, allocations: 483.9 kB / 3.123 GB, free: 315.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/6.749, allocations: 232.7 kB / 3.123 GB, free: 315.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/6.754, allocations: 1.532 MB / 3.125 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/6.755, allocations: 1.028 MB / 3.126 GB, free: 314.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001031/6.756, allocations: 253.2 kB / 3.126 GB, free: 314 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/6.756, allocations: 347.4 kB / 3.126 GB, free: 313.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.623e-06/6.756, allocations: 0 / 3.126 GB, free: 313.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/6.811, allocations: 30.49 MB / 3.156 GB, free: 299.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/6.811, allocations: 256.5 kB / 3.156 GB, free: 299.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/9.77, allocations: 2.953 kB / 3.156 GB, free: 299.1 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)