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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007831/0.0007832, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005835/0.005836, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 269.6 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 16.66 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001568/0.1441, allocations: 1.311 MB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.1452, allocations: 0.6428 MB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.1452, allocations: 4 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1454, allocations: 75.3 kB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1456, allocations: 99.73 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1458, allocations: 79.34 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.146, allocations: 119.7 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.335e-05/0.1461, allocations: 17.16 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1462, allocations: 68.77 kB / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1464, allocations: 93.34 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1464, allocations: 4 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1465, allocations: 75.92 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.1466, allocations: 35.84 kB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.141e-05/0.1467, allocations: 78.55 kB / 0.6878 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1469, allocations: 163.6 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1469, allocations: 0 / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1469, allocations: 0.5625 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1469, allocations: 0.9375 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005964/0.1475, allocations: 466.2 kB / 0.6884 GB, free: 11.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1475, allocations: 12.03 kB / 0.6884 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1476, allocations: 16.75 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1478, allocations: 209.2 kB / 0.6886 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1478, allocations: 2.75 kB / 0.6886 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1478, allocations: 8.375 kB / 0.6886 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.148, allocations: 127.6 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.148, allocations: 4 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.148, allocations: 0 / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1481, allocations: 4.5 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1482, allocations: 68.72 kB / 0.6888 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1486, allocations: 415.3 kB / 0.6892 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1488, allocations: 113.2 kB / 0.6893 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1489, allocations: 88.34 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1489, allocations: 3.938 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.1491, allocations: 175.5 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1492, allocations: 1.719 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004828/0.1496, allocations: 331.2 kB / 0.6899 GB, free: 10.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.1497, allocations: 114.8 kB / 0.69 GB, free: 9.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1499, allocations: 219.2 kB / 0.6902 GB, free: 9.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1499, allocations: 25.7 kB / 0.6902 GB, free: 9.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.15, allocations: 117.2 kB / 0.6903 GB, free: 9.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1501, allocations: 31.55 kB / 0.6903 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.1501, allocations: 17.72 kB / 0.6904 GB, free: 9.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1502, allocations: 335.7 kB / 0.6907 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.1503, allocations: 60.5 kB / 0.6907 GB, free: 9.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.1504, allocations: 81.62 kB / 0.6908 GB, free: 8.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1506, allocations: 193.2 kB / 0.691 GB, free: 8.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1506, allocations: 3.938 kB / 0.691 GB, free: 8.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003192/0.1509, allocations: 267.1 kB / 0.6913 GB, free: 8.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.151, allocations: 33.7 kB / 0.6913 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.151, allocations: 4 kB / 0.6913 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.151, allocations: 0 / 0.6913 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1511, allocations: 19.92 kB / 0.6913 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1511, allocations: 0 / 0.6913 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/0.1512, allocations: 15.91 kB / 0.6913 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1513, allocations: 11.98 kB / 0.6913 GB, free: 8.387 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.1514, allocations: 175 kB / 0.6915 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.1514, allocations: 19.8 kB / 0.6915 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.1516, allocations: 99.16 kB / 0.6916 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1517, allocations: 7.938 kB / 0.6916 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1517, allocations: 0 / 0.6916 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1517, allocations: 3.984 kB / 0.6916 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1519, allocations: 241.8 kB / 0.6919 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1519, allocations: 0 / 0.6919 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.1519, allocations: 12 kB / 0.6919 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.152, allocations: 3.984 kB / 0.6919 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.152, allocations: 4 kB / 0.6919 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.152, allocations: 0 / 0.6919 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.152, allocations: 4 kB / 0.6919 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.1524, allocations: 339.2 kB / 0.6922 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.1525, allocations: 104.9 kB / 0.6923 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1525, allocations: 7.984 kB / 0.6923 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.1526, allocations: 8 kB / 0.6923 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1527, allocations: 7.984 kB / 0.6923 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.1527, allocations: 8 kB / 0.6923 GB, free: 7.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1528, allocations: 168.2 kB / 0.6925 GB, free: 7.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1528, allocations: 0 / 0.6925 GB, free: 7.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1531, allocations: 44 kB / 0.6925 GB, free: 7.043 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.1533, allocations: 137.3 kB / 0.6927 GB, free: 6.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.1536, allocations: 243.2 kB / 0.6929 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1536, allocations: 0 / 0.6929 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1538, allocations: 167.3 kB / 0.6931 GB, free: 6.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.154, allocations: 16.03 kB / 0.6931 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1545, allocations: 396.9 kB / 0.6935 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1548, allocations: 0.7238 MB / 0.6942 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.1549, allocations: 7.984 kB / 0.6942 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.1549, allocations: 15.44 kB / 0.6942 GB, free: 5.266 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1549, allocations: 0 / 0.6942 GB, free: 5.266 MB / 494.1 MB Notification: Performance of Templates: time 0.004144/0.1591, allocations: 1.547 MB / 0.6957 GB, free: 3.77 MB / 494.1 MB 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)