Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8242/0.8242, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 183.4 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 88.33 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 264.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004327, allocations: 11.22 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1812, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.646/0.8272, allocations: 110.1 MB / 0.8812 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.8275, allocations: 90.27 kB / 0.8813 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009359/0.8369, allocations: 3.27 MB / 0.8845 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8369, allocations: 0 / 0.8845 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.837, allocations: 3.219 kB / 0.8845 GB, free: 31.22 MB / 0.5417 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.000453/0.8374, allocations: 449.8 kB / 0.8849 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.8375, allocations: 8.125 kB / 0.885 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.8375, allocations: 15.47 kB / 0.885 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.8378, allocations: 222.2 kB / 0.8852 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.8378, allocations: 11.89 kB / 0.8852 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.8378, allocations: 2.5 kB / 0.8852 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.8381, allocations: 130 kB / 0.8853 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8381, allocations: 0 / 0.8853 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.8381, allocations: 2.531 kB / 0.8853 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.8381, allocations: 0 / 0.8853 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.8382, allocations: 82.75 kB / 0.8854 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.8386, allocations: 402.9 kB / 0.8858 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.8388, allocations: 115.4 kB / 0.8859 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.8388, allocations: 2.938 kB / 0.8859 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.839, allocations: 178.8 kB / 0.8861 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.8391, allocations: 3.938 kB / 0.8861 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0006277/0.8397, allocations: 452.1 kB / 0.8865 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.8397, allocations: 110.1 kB / 0.8866 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.8399, allocations: 182 kB / 0.8868 GB, free: 29.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.8399, allocations: 31.7 kB / 0.8868 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.84, allocations: 107.2 kB / 0.8869 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.84, allocations: 32.84 kB / 0.8869 GB, free: 29.47 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/0.84, allocations: 4 kB / 0.8869 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.8401, allocations: 333 kB / 0.8873 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.8402, allocations: 69.69 kB / 0.8873 GB, free: 29.15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.8403, allocations: 87.8 kB / 0.8874 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.8404, allocations: 102.2 kB / 0.8875 GB, free: 29.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8404, allocations: 0 / 0.8875 GB, free: 29.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003768/0.8408, allocations: 300.8 kB / 0.8878 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.8408, allocations: 40.86 kB / 0.8878 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.8409, allocations: 3.938 kB / 0.8878 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.8409, allocations: 0 / 0.8878 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.8409, allocations: 9.453 kB / 0.8879 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.841, allocations: 4.547 kB / 0.8879 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.841, allocations: 10.45 kB / 0.8879 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.8411, allocations: 12.34 kB / 0.8879 GB, free: 28.98 MB / 0.5417 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 () * Number of clocked 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.0001116/0.8412, allocations: 179.1 kB / 0.888 GB, free: 28.83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.8412, allocations: 16.53 kB / 0.8881 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.8414, allocations: 67.36 kB / 0.8881 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.8414, allocations: 2.469 kB / 0.8881 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8414, allocations: 0 / 0.8881 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8414, allocations: 0.5156 kB / 0.8881 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.8416, allocations: 224.1 kB / 0.8883 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8416, allocations: 0 / 0.8883 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.8416, allocations: 13.28 kB / 0.8884 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8417, allocations: 0.6562 kB / 0.8884 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.8417, allocations: 15.55 kB / 0.8884 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.8417, allocations: 1.375 kB / 0.8884 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8417, allocations: 4.578 kB / 0.8884 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.8423, allocations: 382.2 kB / 0.8887 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.8424, allocations: 111 kB / 0.8888 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.8424, allocations: 4.547 kB / 0.8889 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.8425, allocations: 11.73 kB / 0.8889 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.8425, allocations: 7.578 kB / 0.8889 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.8426, allocations: 11.2 kB / 0.8889 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001311/0.8427, allocations: 153.6 kB / 0.889 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8427, allocations: 0 / 0.889 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002414/0.843, allocations: 46.19 kB / 0.8891 GB, free: 28.24 MB / 0.5417 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) * Number of clocked states: 0 () * 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.0001906/0.8431, allocations: 132.3 kB / 0.8892 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.8434, allocations: 217.4 kB / 0.8894 GB, free: 28.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8434, allocations: 0 / 0.8894 GB, free: 28.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.8436, allocations: 149.2 kB / 0.8895 GB, free: 28.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.8437, allocations: 19 kB / 0.8896 GB, free: 28.01 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.8442, allocations: 341.2 kB / 0.8899 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.8454, allocations: 0.7247 MB / 0.8906 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.8455, allocations: 9 kB / 0.8906 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.8455, allocations: 15.7 kB / 0.8906 GB, free: 43.11 MB / 0.5573 GB Notification: Performance of SimCode: time 3e-07/0.8455, allocations: 3.062 kB / 0.8906 GB, free: 43.11 MB / 0.5573 GB Notification: Performance of Templates: time 0.003801/0.8493, allocations: 1.203 MB / 0.8918 GB, free: 43.02 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)