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.001062/0.001062, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001202/0.001202, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.389/1.389, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.653/1.653, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.00129/0.00129, allocations: 72.38 kB / 0.671 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2313, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003153/0.2345, allocations: 1.549 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2356, allocations: 0.6252 MB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.2357, allocations: 4 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.2359, allocations: 67.88 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.2361, allocations: 83.83 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.2365, allocations: 82.97 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.2367, allocations: 107.7 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.2368, allocations: 8 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.237, allocations: 59.81 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2371, allocations: 87.84 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2372, allocations: 8 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2373, allocations: 79.86 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.2374, allocations: 23.92 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.2375, allocations: 39.69 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.2377, allocations: 139.8 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2377, allocations: 0 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2377, allocations: 0 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2377, allocations: 0 / 0.7857 GB, free: 10.94 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.0005353/0.2382, allocations: 460.5 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2383, allocations: 12.03 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.2383, allocations: 16.75 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.2385, allocations: 200.9 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-06/0.2385, allocations: 384 / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2386, allocations: 4.375 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2388, allocations: 111.6 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2388, allocations: 7.938 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2388, allocations: 4 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.2388, allocations: 0 / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.2389, allocations: 63.97 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.2393, allocations: 305.6 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.2394, allocations: 89.2 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.2395, allocations: 77.73 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.2395, allocations: 0 / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.2398, allocations: 154.7 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.2398, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004294/0.2402, allocations: 295.2 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.2403, allocations: 114.9 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2405, allocations: 204.3 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2405, allocations: 25.7 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.2406, allocations: 112.1 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.2406, allocations: 23.61 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.2407, allocations: 25.72 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2408, allocations: 330.8 kB / 0.7882 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.2408, allocations: 51.98 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.2409, allocations: 73.62 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.2411, allocations: 173 kB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2411, allocations: 0 / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002662/0.2414, allocations: 243.1 kB / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.2414, allocations: 41.69 kB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2414, allocations: 0 / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2414, allocations: 0 / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.2415, allocations: 8.094 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2415, allocations: 15.89 kB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.2416, allocations: 7.938 kB / 0.7888 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2416, allocations: 7.984 kB / 0.7888 GB, free: 7.43 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.0001361/0.2418, allocations: 179.4 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2418, allocations: 15.81 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.242, allocations: 67.08 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.242, allocations: 4 kB / 0.7891 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.242, allocations: 0 / 0.7891 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.242, allocations: 0 / 0.7891 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2421, allocations: 221.4 kB / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2422, allocations: 0 / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.2422, allocations: 8 kB / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2422, allocations: 0 / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2422, allocations: 4 kB / 0.7893 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2422, allocations: 7.922 kB / 0.7893 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2423, allocations: 4 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.2426, allocations: 299.5 kB / 0.7896 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.2427, allocations: 105 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2427, allocations: 8 kB / 0.7897 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.2428, allocations: 4 kB / 0.7897 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.2428, allocations: 11.98 kB / 0.7897 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2428, allocations: 4 kB / 0.7897 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001196/0.243, allocations: 153.1 kB / 0.7899 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.243, allocations: 4 kB / 0.7899 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002468/0.2432, allocations: 39.98 kB / 0.7899 GB, free: 6.195 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.0001876/0.2434, allocations: 123.2 kB / 0.79 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.2437, allocations: 223.3 kB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2437, allocations: 0 / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2438, allocations: 155.3 kB / 0.7904 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.2441, allocations: 8 kB / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.2446, allocations: 358.8 kB / 0.7908 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.2449, allocations: 0.7158 MB / 0.7915 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.2449, allocations: 8.312 kB / 0.7915 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.2449, allocations: 11.44 kB / 0.7915 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of SimCode: time 1.693e-06/0.2449, allocations: 0 / 0.7915 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of Templates: time 0.003827/0.2488, allocations: 1.329 MB / 0.7928 GB, free: 3.211 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)