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.001333/0.001333, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.413/1.413, allocations: 205.1 MB / 222.4 MB, free: 4.422 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.768/1.768, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001589/0.00159, allocations: 69.39 kB / 0.6715 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2695, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002842/0.2724, allocations: 1.484 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2735, allocations: 0.6291 MB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.2736, allocations: 0 / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.2737, allocations: 71.83 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.2739, allocations: 91.75 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.2743, allocations: 83.78 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.2745, allocations: 99.78 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.2746, allocations: 7.984 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.2747, allocations: 71.75 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2748, allocations: 87.83 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.2749, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.275, allocations: 71.94 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.2751, allocations: 27.86 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.2752, allocations: 43.67 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.2754, allocations: 139.8 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2754, allocations: 0 / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2754, allocations: 0 / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2754, allocations: 0 / 0.7862 GB, free: 10.56 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.0006033/0.276, allocations: 460.5 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.276, allocations: 8.031 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.2761, allocations: 16.75 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.2763, allocations: 196.9 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2763, allocations: 8.375 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2764, allocations: 384 / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.2766, allocations: 119.6 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2766, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2766, allocations: 8 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.2766, allocations: 0 / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.2767, allocations: 55.97 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.2771, allocations: 309.5 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2773, allocations: 93.19 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.2774, allocations: 73.75 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2774, allocations: 0 / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.2777, allocations: 150.7 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.2777, allocations: 0 / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004483/0.2781, allocations: 303.1 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.2782, allocations: 110.8 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.2784, allocations: 200.3 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2784, allocations: 25.7 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.2785, allocations: 112.1 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.2785, allocations: 27.77 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.2786, allocations: 25.7 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2787, allocations: 330.8 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.2788, allocations: 56.11 kB / 0.7888 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.2789, allocations: 65.69 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.279, allocations: 177 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.279, allocations: 4 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000257/0.2793, allocations: 239.1 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.2794, allocations: 33.7 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2794, allocations: 0 / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2794, allocations: 8.031 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.2795, allocations: 7.984 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2795, allocations: 7.938 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/0.2796, allocations: 7.938 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2796, allocations: 4.234 kB / 0.7893 GB, free: 7.066 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.0001416/0.2797, allocations: 183.3 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.2798, allocations: 15.81 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.2799, allocations: 75.16 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2799, allocations: 0 / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.28, allocations: 4.062 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.28, allocations: 4 kB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.2801, allocations: 217.5 kB / 0.7898 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2802, allocations: 0 / 0.7898 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.2802, allocations: 7.984 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2802, allocations: 4 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2802, allocations: 0 / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2802, allocations: 4 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2802, allocations: 7.938 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.2806, allocations: 299.5 kB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.2807, allocations: 104.9 kB / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.2807, allocations: 0 / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.2808, allocations: 4 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.2808, allocations: 11.98 kB / 0.7902 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.2808, allocations: 7.938 kB / 0.7902 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001129/0.281, allocations: 161.1 kB / 0.7904 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.281, allocations: 0 / 0.7904 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002374/0.2812, allocations: 36 kB / 0.7904 GB, free: 5.824 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.0001839/0.2814, allocations: 133.8 kB / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.2817, allocations: 223.3 kB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2817, allocations: 0 / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2818, allocations: 151.3 kB / 0.7909 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.2821, allocations: 16.06 kB / 0.7909 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.2826, allocations: 323.8 kB / 0.7912 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.283, allocations: 0.7158 MB / 0.7919 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.283, allocations: 4.328 kB / 0.7919 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.283, allocations: 7.438 kB / 0.7919 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.283, allocations: 0 / 0.7919 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.004141/0.2872, allocations: 1.343 MB / 0.7932 GB, free: 2.852 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)