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.001597/0.001597, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001964/0.001964, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002263/0.002264, allocations: 282.2 kB / 291 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.2 MB / 0.4985 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 92.95 kB / 0.5953 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1771, allocations: 86.99 MB / 0.6803 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002871/0.18, allocations: 1.65 MB / 0.6819 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1811, allocations: 0.6426 MB / 0.6825 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.1812, allocations: 0 / 0.6825 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.1813, allocations: 72.47 kB / 0.6826 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.1816, allocations: 106.4 kB / 0.6827 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1819, allocations: 83.84 kB / 0.6828 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1821, allocations: 135.6 kB / 0.6829 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.1822, allocations: 19.98 kB / 0.6829 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1823, allocations: 63.81 kB / 0.683 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1825, allocations: 107.8 kB / 0.6831 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1825, allocations: 4 kB / 0.6831 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1826, allocations: 75.92 kB / 0.6832 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.1827, allocations: 39.84 kB / 0.6832 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.1828, allocations: 51.61 kB / 0.6832 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.183, allocations: 124 kB / 0.6834 GB, free: 13.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.183, allocations: 4 kB / 0.6834 GB, free: 13.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.183, allocations: 3.938 kB / 0.6834 GB, free: 13.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.183, allocations: 0 / 0.6834 GB, free: 13.89 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.0006948/0.1837, allocations: 480.3 kB / 0.6838 GB, free: 13.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1837, allocations: 12.03 kB / 0.6838 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1838, allocations: 20.69 kB / 0.6839 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.184, allocations: 204.6 kB / 0.6841 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.184, allocations: 384 / 0.6841 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1841, allocations: 8.359 kB / 0.6841 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.1843, allocations: 127.7 kB / 0.6842 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1843, allocations: 3.938 kB / 0.6842 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1843, allocations: 4 kB / 0.6842 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1843, allocations: 0 / 0.6842 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.1845, allocations: 71.95 kB / 0.6843 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.1849, allocations: 416.8 kB / 0.6847 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1851, allocations: 117.1 kB / 0.6848 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/0.1852, allocations: 81.78 kB / 0.6848 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1852, allocations: 0 / 0.6848 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.1855, allocations: 178.7 kB / 0.685 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1855, allocations: 0 / 0.685 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005024/0.186, allocations: 339.1 kB / 0.6853 GB, free: 11.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.1861, allocations: 106.8 kB / 0.6854 GB, free: 11.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.1863, allocations: 218.3 kB / 0.6857 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1863, allocations: 29.7 kB / 0.6857 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.1864, allocations: 112.1 kB / 0.6858 GB, free: 11.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.1864, allocations: 39.55 kB / 0.6858 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.1865, allocations: 29.7 kB / 0.6859 GB, free: 11.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1866, allocations: 330.8 kB / 0.6862 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.1867, allocations: 59.97 kB / 0.6862 GB, free: 10.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.1868, allocations: 77.69 kB / 0.6863 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.187, allocations: 197 kB / 0.6865 GB, free: 10.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.187, allocations: 0 / 0.6865 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003116/0.1873, allocations: 271.1 kB / 0.6867 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.1874, allocations: 37.69 kB / 0.6868 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1874, allocations: 0 / 0.6868 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1874, allocations: 4 kB / 0.6868 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.1875, allocations: 12.31 kB / 0.6868 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1875, allocations: 7.984 kB / 0.6868 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.714e-05/0.1876, allocations: 8 kB / 0.6868 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1877, allocations: 4 kB / 0.6868 GB, free: 10.04 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.0001534/0.1878, allocations: 190.3 kB / 0.687 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1879, allocations: 19.81 kB / 0.687 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.1881, allocations: 98.97 kB / 0.6871 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1881, allocations: 0 / 0.6871 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1881, allocations: 4 kB / 0.6871 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1881, allocations: 0 / 0.6871 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1883, allocations: 233.4 kB / 0.6873 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1883, allocations: 0 / 0.6873 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.1884, allocations: 15.94 kB / 0.6874 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1884, allocations: 4 kB / 0.6874 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1884, allocations: 8 kB / 0.6874 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1884, allocations: 7.922 kB / 0.6874 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1884, allocations: 0 / 0.6874 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1888, allocations: 331.4 kB / 0.6877 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.1889, allocations: 100.9 kB / 0.6878 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1889, allocations: 8 kB / 0.6878 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.189, allocations: 7.984 kB / 0.6878 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1891, allocations: 16.02 kB / 0.6878 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1891, allocations: 7.984 kB / 0.6878 GB, free: 8.895 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1892, allocations: 168.2 kB / 0.688 GB, free: 8.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1892, allocations: 0 / 0.688 GB, free: 8.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1895, allocations: 44 kB / 0.688 GB, free: 8.688 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.0001811/0.1897, allocations: 140.9 kB / 0.6882 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.19, allocations: 239.3 kB / 0.6884 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.19, allocations: 96 / 0.6884 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.1902, allocations: 175.2 kB / 0.6886 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.1904, allocations: 12 kB / 0.6886 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.191, allocations: 414.1 kB / 0.689 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1913, allocations: 0.7275 MB / 0.6897 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.1913, allocations: 11.44 kB / 0.6897 GB, free: 6.895 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1914, allocations: 0 / 0.6897 GB, free: 6.895 MB / 494.1 MB Notification: Performance of Templates: time 0.003575/0.1949, allocations: 1.869 MB / 0.6915 GB, free: 5.043 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)