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.0008325/0.0008325, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009419/0.0009419, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.64/1.64, allocations: 292.7 MB / 0.5499 GB, free: 14.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.0004789/0.000479, allocations: 20.22 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00179/0.2115, allocations: 1.199 MB / 0.7885 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2126, allocations: 0.5752 MB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.2127, allocations: 3.938 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.2129, allocations: 71.89 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.2131, allocations: 79.8 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.2135, allocations: 71.86 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.2136, allocations: 75.8 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.2137, allocations: 11.92 kB / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.2139, allocations: 59.75 kB / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2141, allocations: 67.86 kB / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2141, allocations: 0 / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2142, allocations: 79.86 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.2143, allocations: 27.92 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.2143, allocations: 37.64 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.2145, allocations: 96.06 kB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2145, allocations: 0 / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2145, allocations: 0 / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2145, allocations: 0 / 0.7897 GB, free: 9.449 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.000561/0.2151, allocations: 436.4 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2152, allocations: 8.031 kB / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.2152, allocations: 19.81 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2154, allocations: 195.7 kB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2154, allocations: 8 kB / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.2155, allocations: 7.938 kB / 0.7903 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2156, allocations: 103.4 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2157, allocations: 0 / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2157, allocations: 0 / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.2157, allocations: 0 / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.2158, allocations: 63.91 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.2161, allocations: 301.7 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2163, allocations: 97.19 kB / 0.7909 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.2164, allocations: 77.67 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2164, allocations: 4 kB / 0.7909 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.2166, allocations: 150.7 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.2166, allocations: 3.938 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004251/0.2171, allocations: 287.2 kB / 0.7913 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.2171, allocations: 114.8 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2173, allocations: 212.3 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2174, allocations: 25.7 kB / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.2175, allocations: 112.1 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.2175, allocations: 23.86 kB / 0.7918 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.2175, allocations: 0 / 0.7918 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2176, allocations: 330.8 kB / 0.7921 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.786e-05/0.2177, allocations: 59.91 kB / 0.7922 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.2178, allocations: 61.7 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.522e-05/0.2179, allocations: 81.69 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2179, allocations: 0 / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000286/0.2182, allocations: 247.1 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.2182, allocations: 33.7 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2183, allocations: 4 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2183, allocations: 0 / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.2184, allocations: 11.98 kB / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2184, allocations: 0 / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.2185, allocations: 11.89 kB / 0.7926 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.2185, allocations: 8.031 kB / 0.7926 GB, free: 6.113 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 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.2186, allocations: 174.5 kB / 0.7928 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.2187, allocations: 19.75 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.2188, allocations: 67.16 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2188, allocations: 0 / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2188, allocations: 4 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2188, allocations: 0 / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.219, allocations: 225.4 kB / 0.7931 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.219, allocations: 0 / 0.7931 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.2191, allocations: 11.98 kB / 0.7931 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2191, allocations: 0 / 0.7931 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2191, allocations: 4 kB / 0.7931 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2191, allocations: 0 / 0.7931 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2191, allocations: 0 / 0.7931 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.2195, allocations: 307.3 kB / 0.7934 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.2195, allocations: 101 kB / 0.7935 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2196, allocations: 4.125 kB / 0.7935 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.2196, allocations: 4 kB / 0.7935 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.2197, allocations: 11.98 kB / 0.7935 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2197, allocations: 7.938 kB / 0.7935 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001107/0.2198, allocations: 157.1 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2198, allocations: 0 / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002457/0.2201, allocations: 40 kB / 0.7937 GB, free: 4.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001865/0.2203, allocations: 127.2 kB / 0.7938 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.2206, allocations: 227.2 kB / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2206, allocations: 0 / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.2207, allocations: 151.3 kB / 0.7942 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2209, allocations: 14.58 kB / 0.7942 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.2215, allocations: 351.2 kB / 0.7945 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.2218, allocations: 0.7197 MB / 0.7952 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.2218, allocations: 0 / 0.7952 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.2219, allocations: 11.44 kB / 0.7953 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2219, allocations: 0 / 0.7953 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.003919/0.2258, allocations: 1.244 MB / 0.7965 GB, free: 1.984 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: