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.006633/0.006633, allocations: 101.4 kB / 15.73 MB, free: 6.051 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.001396/0.001396, allocations: 197.3 kB / 16.68 MB, free: 5.98 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 279 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9409/0.9409, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 95.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1816, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003006/0.1846, allocations: 1.591 MB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1859, allocations: 0.651 MB / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.126e-05/0.186, allocations: 7.938 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1862, allocations: 67.83 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1866, allocations: 111.7 kB / 0.7687 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.187, allocations: 93.64 kB / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.1872, allocations: 135.6 kB / 0.769 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.1874, allocations: 23.91 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1876, allocations: 71.8 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1878, allocations: 99.78 kB / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1878, allocations: 4 kB / 0.7691 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.188, allocations: 83.92 kB / 0.7692 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.188, allocations: 35.83 kB / 0.7693 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.1881, allocations: 55.67 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1884, allocations: 167.4 kB / 0.7695 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1884, allocations: 4 kB / 0.7695 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1884, allocations: 4 kB / 0.7695 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.1884, allocations: 0 / 0.7695 GB, free: 5.25 MB / 0.5606 GB 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.0007403/0.1892, allocations: 480.3 kB / 0.7699 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1892, allocations: 8.031 kB / 0.7699 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.1893, allocations: 16.75 kB / 0.77 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1896, allocations: 220.1 kB / 0.7702 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1896, allocations: 4.375 kB / 0.7702 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1896, allocations: 8.375 kB / 0.7702 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.1899, allocations: 119.7 kB / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1899, allocations: 7.938 kB / 0.7703 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1899, allocations: 3.984 kB / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1899, allocations: 0 / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1901, allocations: 71.95 kB / 0.7704 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.1905, allocations: 416.8 kB / 0.7708 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1907, allocations: 117.1 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.1909, allocations: 81.78 kB / 0.771 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1909, allocations: 4 kB / 0.771 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.1911, allocations: 174.8 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.1911, allocations: 0 / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005263/0.1917, allocations: 335 kB / 0.7715 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.1917, allocations: 102.8 kB / 0.7716 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1919, allocations: 214.8 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.192, allocations: 33.7 kB / 0.7718 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.192, allocations: 112 kB / 0.7719 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.1921, allocations: 35.56 kB / 0.7719 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.1921, allocations: 29.7 kB / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1923, allocations: 330.8 kB / 0.7723 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.401e-05/0.1924, allocations: 63.97 kB / 0.7723 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.1925, allocations: 80.02 kB / 0.7724 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.1927, allocations: 197.3 kB / 0.7726 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1927, allocations: 0 / 0.7726 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003267/0.193, allocations: 275.1 kB / 0.7729 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.1931, allocations: 36.05 kB / 0.7729 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1931, allocations: 0 / 0.7729 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1931, allocations: 0 / 0.7729 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1932, allocations: 19.98 kB / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1932, allocations: 0 / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1933, allocations: 7.906 kB / 0.7729 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.1934, allocations: 7.984 kB / 0.7729 GB, free: 1.395 MB / 0.5606 GB 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.0001545/0.1935, allocations: 189.9 kB / 0.7731 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1936, allocations: 19.8 kB / 0.7731 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.1938, allocations: 99 kB / 0.7732 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1938, allocations: 4 kB / 0.7732 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1939, allocations: 0 / 0.7732 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1939, allocations: 3.938 kB / 0.7732 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1941, allocations: 229.4 kB / 0.7735 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1941, allocations: 4 kB / 0.7735 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.1941, allocations: 11.94 kB / 0.7735 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1941, allocations: 4 kB / 0.7735 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1942, allocations: 11.98 kB / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1942, allocations: 0 / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1942, allocations: 0 / 0.7735 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.1946, allocations: 335.5 kB / 0.7738 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.1947, allocations: 104.9 kB / 0.7739 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.1947, allocations: 4.188 kB / 0.7739 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.1948, allocations: 11.98 kB / 0.7739 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.1949, allocations: 19.86 kB / 0.7739 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.1949, allocations: 8.125 kB / 0.7739 GB, free: 244 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001636/0.1951, allocations: 164.2 kB / 0.7741 GB, free: 80 kB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1951, allocations: 0 / 0.7741 GB, free: 80 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003306/0.1954, allocations: 44 kB / 0.7741 GB, free: 36 kB / 0.5606 GB 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.3938/0.5893, allocations: 122.2 kB / 0.7743 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.5898, allocations: 248.6 kB / 0.7745 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5898, allocations: 0.7812 kB / 0.7745 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.59, allocations: 165.1 kB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.5903, allocations: 13.27 kB / 0.7747 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.5909, allocations: 344.5 kB / 0.775 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.5911, allocations: 0.7264 MB / 0.7757 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.5911, allocations: 6.516 kB / 0.7757 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.5912, allocations: 15.25 kB / 0.7757 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5912, allocations: 0.5312 kB / 0.7757 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.004775/0.5959, allocations: 1.673 MB / 0.7774 GB, free: 14.12 MB / 0.5606 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)