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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 106.7 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.001252/0.001253, allocations: 194.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 222.8 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.3 MB / 0.5492 GB, free: 13.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 72.77 kB / 0.6716 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.238, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002869/0.2409, allocations: 1.545 MB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.242, allocations: 0.633 MB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.242, allocations: 0 / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2422, allocations: 67.89 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.2424, allocations: 75.83 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.2428, allocations: 99.08 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2429, allocations: 91.8 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.243, allocations: 11.94 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2432, allocations: 59.81 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2433, allocations: 87.84 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.2434, allocations: 4 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2435, allocations: 79.86 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.2436, allocations: 31.91 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.2436, allocations: 43.67 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.2438, allocations: 100.1 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2438, allocations: 0 / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2438, allocations: 0 / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2438, allocations: 0 / 0.7864 GB, free: 10.95 MB / 0.6075 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.0006024/0.2444, allocations: 456.4 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2445, allocations: 12.03 kB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.2445, allocations: 12.75 kB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.2448, allocations: 208.8 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2448, allocations: 4.375 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.2448, allocations: 4.375 kB / 0.787 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.245, allocations: 115.6 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.245, allocations: 0 / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.245, allocations: 0 / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2451, allocations: 4 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.875e-05/0.2452, allocations: 55.97 kB / 0.7872 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.2456, allocations: 301.7 kB / 0.7875 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2457, allocations: 93.19 kB / 0.7876 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.2458, allocations: 69.75 kB / 0.7876 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.2458, allocations: 4 kB / 0.7876 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.2461, allocations: 162.9 kB / 0.7878 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.2461, allocations: 0 / 0.7878 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004442/0.2466, allocations: 299 kB / 0.7881 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.2467, allocations: 106.8 kB / 0.7882 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2468, allocations: 200.3 kB / 0.7884 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.2469, allocations: 33.83 kB / 0.7884 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.2469, allocations: 112.1 kB / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.247, allocations: 23.62 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.247, allocations: 29.7 kB / 0.7886 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2472, allocations: 326.8 kB / 0.7889 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.2472, allocations: 47.98 kB / 0.7889 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.2473, allocations: 73.62 kB / 0.789 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2475, allocations: 185 kB / 0.7892 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2475, allocations: 0 / 0.7892 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002539/0.2478, allocations: 243.1 kB / 0.7894 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.2478, allocations: 37.7 kB / 0.7894 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2478, allocations: 3.984 kB / 0.7894 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2478, allocations: 0 / 0.7894 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.2479, allocations: 8 kB / 0.7894 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2479, allocations: 0 / 0.7894 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.248, allocations: 7.938 kB / 0.7894 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.248, allocations: 8.031 kB / 0.7895 GB, free: 7.449 MB / 0.6075 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 (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 (6): * Single equations (assignments): 5 * 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.0001299/0.2482, allocations: 179.4 kB / 0.7896 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.2482, allocations: 15.81 kB / 0.7896 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.2483, allocations: 67.08 kB / 0.7897 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2484, allocations: 4 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2484, allocations: 0 / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2484, allocations: 0 / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2486, allocations: 221.4 kB / 0.7899 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2486, allocations: 0 / 0.7899 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.2486, allocations: 11.98 kB / 0.7899 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2486, allocations: 0 / 0.7899 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2486, allocations: 8 kB / 0.7899 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2486, allocations: 3.938 kB / 0.7899 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2487, allocations: 0 / 0.7899 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.249, allocations: 303.5 kB / 0.7902 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.2491, allocations: 104.9 kB / 0.7903 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.2491, allocations: 4 kB / 0.7903 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.2492, allocations: 11.98 kB / 0.7904 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2492, allocations: 0 / 0.7904 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2492, allocations: 4 kB / 0.7904 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001193/0.2494, allocations: 157.1 kB / 0.7905 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2494, allocations: 4 kB / 0.7905 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002435/0.2496, allocations: 36 kB / 0.7905 GB, free: 6.219 MB / 0.6075 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 (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.0001986/0.2498, allocations: 132 kB / 0.7907 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.2501, allocations: 219.4 kB / 0.7909 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2501, allocations: 3.938 kB / 0.7909 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2503, allocations: 151.5 kB / 0.791 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.2505, allocations: 12.2 kB / 0.791 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.2511, allocations: 389.5 kB / 0.7914 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2514, allocations: 0.7236 MB / 0.7921 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.2514, allocations: 11.44 kB / 0.7921 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2514, allocations: 0 / 0.7921 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of Templates: time 0.003426/0.2548, allocations: 1.563 MB / 0.7937 GB, free: 2.945 MB / 0.6075 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)