Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001224/0.001224, allocations: 179.4 kB / 371.6 MB, free: 3.352 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.916/1.916, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0009042/0.0009046, allocations: 87.05 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.856e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3122, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.36, allocations: 140.4 MB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004268/1.36, allocations: 86.48 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01048/1.371, allocations: 3.201 MB / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.886e-06/1.371, allocations: 0 / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.526e-05/1.371, allocations: 0 / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007266/1.372, allocations: 434 kB / 1.121 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.605e-05/1.372, allocations: 8.031 kB / 1.121 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.275e-05/1.372, allocations: 13.62 kB / 1.121 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/1.372, allocations: 230.7 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/1.372, allocations: 4.906 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/1.372, allocations: 4 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/1.373, allocations: 127.7 kB / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/1.373, allocations: 0 / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/1.373, allocations: 4 kB / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.373, allocations: 0 / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/1.373, allocations: 81.39 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/1.374, allocations: 397.8 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/1.374, allocations: 115.5 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/1.374, allocations: 92.89 kB / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/1.374, allocations: 4 kB / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/1.374, allocations: 175.1 kB / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.244e-06/1.374, allocations: 0 / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0006786/1.375, allocations: 297.8 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/1.375, allocations: 114.7 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/1.375, allocations: 190.7 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/1.375, allocations: 25.7 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/1.375, allocations: 114.6 kB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/1.375, allocations: 23.84 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/1.375, allocations: 0 / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.376, allocations: 333.2 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/1.376, allocations: 69.36 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.995e-05/1.376, allocations: 83.16 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/1.376, allocations: 102.9 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.376, allocations: 0.75 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000431/1.376, allocations: 307 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/1.376, allocations: 33.12 kB / 1.123 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.376, allocations: 5.312 kB / 1.123 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.376, allocations: 0 / 1.123 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/1.377, allocations: 8 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.377, allocations: 0.5 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/1.377, allocations: 15.48 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/1.377, allocations: 11.88 kB / 1.123 GB, free: 38.53 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.377, allocations: 143.4 kB / 1.124 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/1.377, allocations: 19.56 kB / 1.124 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/1.377, allocations: 67.84 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.377, allocations: 0.8125 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.377, allocations: 0 / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.377, allocations: 1.031 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/1.377, allocations: 231.4 kB / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.377, allocations: 0 / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/1.377, allocations: 13.56 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.377, allocations: 3.656 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/1.377, allocations: 4 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.377, allocations: 3.938 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.377, allocations: 0 / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/1.378, allocations: 374.5 kB / 1.124 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.378, allocations: 116.2 kB / 1.124 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/1.378, allocations: 4 kB / 1.124 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/1.378, allocations: 4.75 kB / 1.124 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/1.378, allocations: 8.078 kB / 1.124 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/1.378, allocations: 11.94 kB / 1.124 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001131/1.378, allocations: 150.7 kB / 1.124 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.378, allocations: 3.938 kB / 1.124 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002634/1.379, allocations: 55.45 kB / 1.125 GB, free: 37.44 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002503/1.379, allocations: 134.1 kB / 1.125 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000247/1.379, allocations: 212.3 kB / 1.125 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.379, allocations: 0 / 1.125 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/1.379, allocations: 153.8 kB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/1.379, allocations: 12.14 kB / 1.125 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/1.38, allocations: 237 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/1.38, allocations: 0.72 MB / 1.126 GB, free: 36.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.961e-05/1.38, allocations: 1.266 kB / 1.126 GB, free: 36.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/1.38, allocations: 15.62 kB / 1.126 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of SimCode: time 1.593e-06/1.38, allocations: 0 / 1.126 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.004325/1.385, allocations: 1.222 MB / 1.127 GB, free: 35.4 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)