Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 182.8 kB / 326.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007669/0.0007669, allocations: 82.36 kB / 0.6803 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003326, allocations: 8.438 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 105.4 MB / 0.8967 GB, free: 68.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001635/0.2104, allocations: 1.22 MB / 0.8979 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2116, allocations: 0.652 MB / 0.8986 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.2116, allocations: 0 / 0.8986 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.2118, allocations: 79.81 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.212, allocations: 83.81 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.2124, allocations: 70.86 kB / 0.8988 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.2125, allocations: 87.75 kB / 0.8989 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.2126, allocations: 19.91 kB / 0.8989 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.2127, allocations: 51.83 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2129, allocations: 83.86 kB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.2129, allocations: 0 / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.213, allocations: 79.91 kB / 0.8991 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.2131, allocations: 23.86 kB / 0.8991 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.2132, allocations: 39.67 kB / 0.8992 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.2133, allocations: 95.86 kB / 0.8993 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2133, allocations: 4 kB / 0.8993 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2133, allocations: 0 / 0.8993 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2133, allocations: 0 / 0.8993 GB, free: 65.66 MB / 0.6042 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.0004401/0.2138, allocations: 432.7 kB / 0.8997 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2138, allocations: 8.031 kB / 0.8997 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.2139, allocations: 16.75 kB / 0.8997 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.214, allocations: 200.8 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.214, allocations: 4.375 kB / 0.8999 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.2141, allocations: 4.375 kB / 0.8999 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2142, allocations: 111.7 kB / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2143, allocations: 3.984 kB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2143, allocations: 8 kB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2143, allocations: 0 / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.2144, allocations: 59.91 kB / 0.9001 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.2148, allocations: 301.7 kB / 0.9004 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.2149, allocations: 101.1 kB / 0.9005 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.215, allocations: 69.75 kB / 0.9005 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.215, allocations: 0 / 0.9005 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.2153, allocations: 166.9 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.2153, allocations: 0 / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003865/0.2157, allocations: 299 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.2158, allocations: 110.8 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2159, allocations: 207.1 kB / 0.9013 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2159, allocations: 25.7 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.216, allocations: 112.1 kB / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.216, allocations: 23.69 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.216, allocations: 17.72 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.2161, allocations: 338.8 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.2162, allocations: 43.98 kB / 0.9018 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.2162, allocations: 65.69 kB / 0.9019 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.2164, allocations: 177.1 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2164, allocations: 0 / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002078/0.2166, allocations: 247.1 kB / 0.9023 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.2166, allocations: 37.69 kB / 0.9023 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2166, allocations: 3.938 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2167, allocations: 0 / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.2167, allocations: 8 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2168, allocations: 3.984 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.2168, allocations: 4 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2169, allocations: 4.062 kB / 0.9023 GB, free: 62.2 MB / 0.6042 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.0001043/0.217, allocations: 179.5 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.217, allocations: 23.84 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.2171, allocations: 67.02 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2171, allocations: 7.938 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2171, allocations: 0 / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2172, allocations: 0 / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2173, allocations: 217.4 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2173, allocations: 0 / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.2173, allocations: 11.94 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2173, allocations: 4 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2174, allocations: 8 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2174, allocations: 3.984 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2174, allocations: 0 / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.2176, allocations: 303.5 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.2177, allocations: 104.8 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.2177, allocations: 8 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/0.2178, allocations: 8 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.2178, allocations: 7.984 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.2179, allocations: 4 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.218, allocations: 153.2 kB / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.218, allocations: 0 / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002255/0.2182, allocations: 35.98 kB / 0.9034 GB, free: 60.96 MB / 0.6042 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.0001568/0.2184, allocations: 123.2 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.2186, allocations: 223.2 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2186, allocations: 3.938 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.2187, allocations: 155.3 kB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.2189, allocations: 12 kB / 0.9039 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.2194, allocations: 382.2 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.2196, allocations: 0.717 MB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.2196, allocations: 11.44 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.2196, allocations: 4 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.003048/0.2227, allocations: 1.532 MB / 0.9065 GB, free: 57.73 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)