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.233/2.233, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.002411/0.002411, allocations: 176.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.032/3.032, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001013/0.001014, allocations: 89.14 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.315e-05, allocations: 0 / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.064, allocations: 115.3 MB / 0.9644 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.247/7.311, allocations: 2.071 GB / 3.035 GB, free: 89.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/7.312, allocations: 95.94 kB / 3.036 GB, free: 89.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1927/7.504, allocations: 57.17 MB / 3.091 GB, free: 32.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.046e-06/7.504, allocations: 0 / 3.091 GB, free: 32.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001305/7.505, allocations: 24 kB / 3.091 GB, free: 32.61 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.003407/7.508, allocations: 1.039 MB / 3.092 GB, free: 31.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/7.508, allocations: 12.03 kB / 3.092 GB, free: 31.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/7.51, allocations: 186.5 kB / 3.093 GB, free: 31.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/7.512, allocations: 0.6036 MB / 3.093 GB, free: 30.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/7.512, allocations: 24 kB / 3.093 GB, free: 30.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/7.512, allocations: 44 kB / 3.093 GB, free: 30.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002437/7.514, allocations: 0.9718 MB / 3.094 GB, free: 29.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/7.516, allocations: 0.7115 MB / 3.095 GB, free: 28.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/7.516, allocations: 4 kB / 3.095 GB, free: 28.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/7.517, allocations: 3.984 kB / 3.095 GB, free: 28.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/7.517, allocations: 23.95 kB / 3.095 GB, free: 28.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005761/7.522, allocations: 2.233 MB / 3.097 GB, free: 26.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/7.524, allocations: 0.7231 MB / 3.098 GB, free: 25.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/7.525, allocations: 247.2 kB / 3.098 GB, free: 25.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/7.525, allocations: 36.8 kB / 3.098 GB, free: 25.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008677/7.526, allocations: 383.7 kB / 3.098 GB, free: 25.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.84e-06/7.526, allocations: 0 / 3.098 GB, free: 25.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002551/7.528, allocations: 0.642 MB / 3.099 GB, free: 24.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/7.529, allocations: 244.1 kB / 3.099 GB, free: 24.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/7.53, allocations: 0.4944 MB / 3.1 GB, free: 23.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/7.53, allocations: 29.7 kB / 3.1 GB, free: 23.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/7.53, allocations: 372.2 kB / 3.1 GB, free: 23.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/7.531, allocations: 236.5 kB / 3.1 GB, free: 23.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/7.531, allocations: 3.938 kB / 3.1 GB, free: 23.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001515/7.531, allocations: 378.7 kB / 3.101 GB, free: 22.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/7.531, allocations: 183.4 kB / 3.101 GB, free: 22.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/7.532, allocations: 283.5 kB / 3.101 GB, free: 22.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/7.533, allocations: 236.5 kB / 3.101 GB, free: 21.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/7.533, allocations: 3.938 kB / 3.101 GB, free: 21.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002041/7.535, allocations: 0.633 MB / 3.102 GB, free: 21.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/7.535, allocations: 8.625 kB / 3.102 GB, free: 21.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/7.535, allocations: 0 / 3.102 GB, free: 21.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/7.536, allocations: 88.78 kB / 3.102 GB, free: 21.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/7.537, allocations: 139.8 kB / 3.102 GB, free: 21.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/7.539, allocations: 1.457 MB / 3.104 GB, free: 19.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/7.54, allocations: 55.5 kB / 3.104 GB, free: 19.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/7.54, allocations: 35.97 kB / 3.104 GB, free: 19.4 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.000252/7.54, allocations: 116.9 kB / 3.104 GB, free: 19.28 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002306/7.543, allocations: 0.6407 MB / 3.105 GB, free: 18.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/7.543, allocations: 71.16 kB / 3.105 GB, free: 18.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/7.546, allocations: 0.9122 MB / 3.106 GB, free: 17.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/7.546, allocations: 12 kB / 3.106 GB, free: 17.63 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/7.546, allocations: 0 / 3.106 GB, free: 17.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/7.546, allocations: 7.984 kB / 3.106 GB, free: 17.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004399/7.551, allocations: 1.714 MB / 3.107 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/7.551, allocations: 4 kB / 3.107 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/7.552, allocations: 147.8 kB / 3.107 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007549/7.553, allocations: 80.78 kB / 3.107 GB, free: 15.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/7.553, allocations: 15.97 kB / 3.107 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/7.555, allocations: 1.477 MB / 3.109 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/7.555, allocations: 0 / 3.109 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/7.558, allocations: 0.826 MB / 3.11 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/7.559, allocations: 283.9 kB / 3.11 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/7.56, allocations: 7.984 kB / 3.11 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/7.561, allocations: 43.95 kB / 3.11 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/7.561, allocations: 72.67 kB / 3.11 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/7.561, allocations: 31.92 kB / 3.11 GB, free: 12.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001079/7.562, allocations: 398.9 kB / 3.111 GB, free: 12.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.01e-07/7.562, allocations: 0 / 3.111 GB, free: 12.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002189/7.565, allocations: 299.2 kB / 3.111 GB, free: 12.05 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.006256/7.571, allocations: 2.315 MB / 3.113 GB, free: 9.816 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001983/7.573, allocations: 0.6396 MB / 3.114 GB, free: 9.168 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/7.573, allocations: 0 / 3.114 GB, free: 9.168 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/7.574, allocations: 448.6 kB / 3.114 GB, free: 8.719 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/7.576, allocations: 216.5 kB / 3.114 GB, free: 8.523 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006271/7.583, allocations: 1.467 MB / 3.116 GB, free: 7.012 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/7.583, allocations: 1.011 MB / 3.117 GB, free: 5.973 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001381/7.585, allocations: 246.5 kB / 3.117 GB, free: 5.754 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/7.585, allocations: 359.2 kB / 3.117 GB, free: 5.402 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/7.585, allocations: 0 / 3.117 GB, free: 5.402 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7747/8.36, allocations: 22.72 MB / 3.139 GB, free: 311.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/8.361, allocations: 220.1 kB / 3.14 GB, free: 311.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/11.64, allocations: 0 / 3.14 GB, free: 311.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)