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.001965/0.001965, allocations: 106.4 kB / 16.29 MB, free: 6.43 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.002134/0.002134, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.451/1.451, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.773/1.773, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001524/0.001524, allocations: 67.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2304, allocations: 114.6 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002668/0.2331, allocations: 1.481 MB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2342, allocations: 0.6241 MB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.2342, allocations: 4 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.2344, allocations: 75.77 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.2346, allocations: 83.75 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.2349, allocations: 91.77 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.2351, allocations: 107.8 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.2352, allocations: 8 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2353, allocations: 63.75 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2355, allocations: 87.84 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.2355, allocations: 4 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2357, allocations: 79.91 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.2357, allocations: 23.92 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.2358, allocations: 43.67 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.236, allocations: 139.8 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.236, allocations: 0 / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.233e-06/0.236, allocations: 3.938 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.236, allocations: 0 / 0.7869 GB, free: 0.9336 MB / 0.6544 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.0005576/0.2366, allocations: 460.5 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2366, allocations: 8.031 kB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.2367, allocations: 16.75 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.2369, allocations: 192.9 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2369, allocations: 12.38 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2369, allocations: 384 / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2371, allocations: 115.7 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2371, allocations: 7.875 kB / 0.7877 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2371, allocations: 4 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2371, allocations: 0 / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3515/0.5886, allocations: 57.34 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.5891, allocations: 295 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5892, allocations: 96.78 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.5893, allocations: 78.34 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.5893, allocations: 2.656 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.5895, allocations: 148.3 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/0.5896, allocations: 1.906 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003715/0.5899, allocations: 293.9 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.59, allocations: 113 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.5901, allocations: 212.6 kB / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.5901, allocations: 25.7 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.5902, allocations: 115.6 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.5902, allocations: 21.84 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.5903, allocations: 25.5 kB / 0.7891 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.5903, allocations: 324.8 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.5904, allocations: 54.59 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.5905, allocations: 66.25 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.5906, allocations: 179.5 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5906, allocations: 1.438 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002261/0.5908, allocations: 246.1 kB / 0.7899 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.5909, allocations: 39.72 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5909, allocations: 0.5938 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5909, allocations: 0 / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.591, allocations: 9.719 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.591, allocations: 9 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.5911, allocations: 9.469 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5911, allocations: 2.625 kB / 0.79 GB, free: 47.46 MB / 0.6544 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 8.555e-05/0.5912, allocations: 174.5 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.5912, allocations: 19.31 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.5913, allocations: 70.03 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5913, allocations: 2.438 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5913, allocations: 3.469 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5913, allocations: 0 / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.5915, allocations: 219.1 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5915, allocations: 2.469 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.5915, allocations: 7.969 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5915, allocations: 0 / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5915, allocations: 3.562 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5916, allocations: 5.766 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5916, allocations: 3.094 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.5918, allocations: 306.8 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.5919, allocations: 99.91 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.5919, allocations: 6.5 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.592, allocations: 5 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.592, allocations: 8.578 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.592, allocations: 7.844 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.5921, allocations: 148.9 kB / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.62e-07/0.5921, allocations: 0 / 0.7911 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002416/0.5924, allocations: 46.7 kB / 0.7911 GB, free: 46.79 MB / 0.6544 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.000146/0.5925, allocations: 122.7 kB / 0.7912 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.5928, allocations: 214.1 kB / 0.7914 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5928, allocations: 2.125 kB / 0.7914 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.5929, allocations: 157.1 kB / 0.7916 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.5931, allocations: 16.78 kB / 0.7916 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.5935, allocations: 312.4 kB / 0.7919 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.5937, allocations: 0.7173 MB / 0.7926 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.5937, allocations: 11.75 kB / 0.7926 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.5937, allocations: 14.84 kB / 0.7926 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.5937, allocations: 0 / 0.7926 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.003275/0.597, allocations: 1.342 MB / 0.7939 GB, free: 45.69 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)