Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001115/0.001115, allocations: 176.9 kB / 361.4 MB, free: 6.867 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.632/1.632, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.00107/0.00107, allocations: 93.66 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.592e-05, allocations: 4 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8408, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.874/6.715, allocations: 2.071 GB / 3.035 GB, free: 45.03 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/6.716, allocations: 94.89 kB / 3.035 GB, free: 44.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8878/7.603, allocations: 56.69 MB / 3.091 GB, free: 320.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/7.603, allocations: 3.688 kB / 3.091 GB, free: 320.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.91e-05/7.604, allocations: 23.62 kB / 3.091 GB, free: 320.2 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001853/7.605, allocations: 1.019 MB / 3.092 GB, free: 319.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/7.605, allocations: 9.172 kB / 3.092 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000898/7.606, allocations: 183 kB / 3.092 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/7.607, allocations: 0.5929 MB / 3.092 GB, free: 319.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/7.607, allocations: 28.23 kB / 3.092 GB, free: 319.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/7.608, allocations: 42.72 kB / 3.093 GB, free: 319.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/7.609, allocations: 0.9604 MB / 3.093 GB, free: 319.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/7.61, allocations: 0.6897 MB / 3.094 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/7.61, allocations: 1.219 kB / 3.094 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/7.61, allocations: 1.062 kB / 3.094 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/7.61, allocations: 22.23 kB / 3.094 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/7.614, allocations: 2.18 MB / 3.096 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/7.615, allocations: 0.7074 MB / 3.097 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/7.615, allocations: 237.5 kB / 3.097 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-05/7.615, allocations: 29.58 kB / 3.097 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005705/7.616, allocations: 379.1 kB / 3.098 GB, free: 318.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.085e-06/7.616, allocations: 0 / 3.098 GB, free: 318.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001505/7.617, allocations: 0.6199 MB / 3.098 GB, free: 318.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/7.617, allocations: 243.4 kB / 3.098 GB, free: 317.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/7.618, allocations: 497.2 kB / 3.099 GB, free: 317.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/7.618, allocations: 27.86 kB / 3.099 GB, free: 317.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/7.618, allocations: 370.5 kB / 3.099 GB, free: 317.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/7.619, allocations: 221.5 kB / 3.099 GB, free: 317.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/7.619, allocations: 0 / 3.099 GB, free: 317.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/7.619, allocations: 373.5 kB / 3.1 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/7.619, allocations: 179.6 kB / 3.1 GB, free: 317.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/7.619, allocations: 283.1 kB / 3.1 GB, free: 317.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/7.62, allocations: 226.1 kB / 3.101 GB, free: 317.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/7.62, allocations: 0 / 3.101 GB, free: 317.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001393/7.621, allocations: 0.628 MB / 3.101 GB, free: 317 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/7.621, allocations: 8.406 kB / 3.101 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/7.621, allocations: 0 / 3.101 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/7.622, allocations: 80.64 kB / 3.101 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/7.622, allocations: 134.2 kB / 3.101 GB, free: 317 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/7.624, allocations: 1.455 MB / 3.103 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/7.625, allocations: 54.95 kB / 3.103 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/7.625, allocations: 29.3 kB / 3.103 GB, free: 315.7 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 (72): * Single equations (assignments): 71 * 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.0001877/7.625, allocations: 122.9 kB / 3.103 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/7.625, allocations: 71.34 kB / 3.103 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/7.627, allocations: 0.8724 MB / 3.104 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/7.627, allocations: 9.328 kB / 3.104 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/7.627, allocations: 0 / 3.104 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/7.627, allocations: 3.891 kB / 3.104 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/7.63, allocations: 1.649 MB / 3.105 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/7.63, allocations: 4.656 kB / 3.105 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/7.63, allocations: 135.5 kB / 3.106 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/7.631, allocations: 83.64 kB / 3.106 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/7.631, allocations: 12.34 kB / 3.106 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/7.632, allocations: 1.479 MB / 3.107 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/7.632, allocations: 4.625 kB / 3.107 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/7.634, allocations: 0.7992 MB / 3.108 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/7.634, allocations: 269.8 kB / 3.108 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/7.634, allocations: 0.7969 kB / 3.108 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/7.635, allocations: 48.77 kB / 3.108 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/7.635, allocations: 58.48 kB / 3.108 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/7.635, allocations: 37.2 kB / 3.108 GB, free: 313.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005552/7.636, allocations: 395.1 kB / 3.109 GB, free: 313.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/7.636, allocations: 0 / 3.109 GB, free: 313.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00115/7.637, allocations: 294.7 kB / 3.109 GB, free: 313.4 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 (81): * Single equations (assignments): 78 * 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.002039/7.639, allocations: 1.042 MB / 3.11 GB, free: 313.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001283/7.64, allocations: 0.6195 MB / 3.111 GB, free: 313.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/7.64, allocations: 5.062 kB / 3.111 GB, free: 313.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006955/7.641, allocations: 436 kB / 3.111 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/7.642, allocations: 217.6 kB / 3.111 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/7.646, allocations: 1.238 MB / 3.112 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/7.646, allocations: 1.005 MB / 3.113 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001004/7.647, allocations: 245.9 kB / 3.114 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/7.648, allocations: 90.64 kB / 3.114 GB, free: 311.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/7.648, allocations: 0 / 3.114 GB, free: 311.9 MB / 0.948 GB Notification: Performance of Templates: time 0.03252/7.68, allocations: 14.93 MB / 3.128 GB, free: 310.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)