Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001716/0.001716, allocations: 109.4 kB / 15.69 MB, free: 128 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.00179/0.00179, allocations: 188.1 kB / 16.62 MB, free: 6.582 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5956/0.5956, allocations: 95.49 MB / 365.3 MB, free: 9.789 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 67.91 kB / 446.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3473, allocations: 69.08 MB / 0.5031 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002179/0.3495, allocations: 0.6531 MB / 0.5038 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3506, allocations: 1.117 MB / 0.5048 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.3507, allocations: 0 / 0.5048 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.3507, allocations: 0 / 0.5048 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.537e-05/0.3508, allocations: 3.938 kB / 0.5048 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.3509, allocations: 16 kB / 0.5049 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.351, allocations: 15.92 kB / 0.5049 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3511, allocations: 4 kB / 0.5049 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.3512, allocations: 15.97 kB / 0.5049 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.3513, allocations: 11.88 kB / 0.5049 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.3513, allocations: 0 / 0.5049 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-06/0.3513, allocations: 0 / 0.5049 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.3513, allocations: 0 / 0.5049 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.3514, allocations: 8 kB / 0.5049 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.414e-05/0.3514, allocations: 11.91 kB / 0.5049 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3515, allocations: 8 kB / 0.5049 GB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3515, allocations: 0 / 0.5049 GB, free: 15.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3515, allocations: 0 / 0.5049 GB, free: 15.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002951/0.3518, allocations: 319.2 kB / 0.5052 GB, free: 15.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3518, allocations: 11.98 kB / 0.5052 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.3519, allocations: 8.844 kB / 0.5053 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.439e-05/0.3519, allocations: 162.2 kB / 0.5054 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3519, allocations: 4.312 kB / 0.5054 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.352, allocations: 384 / 0.5054 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3521, allocations: 46 kB / 0.5055 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3521, allocations: 0 / 0.5055 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3521, allocations: 0 / 0.5055 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3521, allocations: 4 kB / 0.5055 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.441e-05/0.3522, allocations: 3.984 kB / 0.5055 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.3524, allocations: 236.9 kB / 0.5057 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.3525, allocations: 26.52 kB / 0.5057 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.3525, allocations: 16.95 kB / 0.5057 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3526, allocations: 0 / 0.5057 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.3526, allocations: 34.56 kB / 0.5058 GB, free: 14.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3526, allocations: 0 / 0.5058 GB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.3527, allocations: 37.7 kB / 0.5058 GB, free: 14.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.3528, allocations: 59.33 kB / 0.5059 GB, free: 14.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.934e-05/0.3528, allocations: 89.86 kB / 0.5059 GB, free: 14.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.3528, allocations: 33.83 kB / 0.506 GB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.3529, allocations: 80.14 kB / 0.5061 GB, free: 14.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.3529, allocations: 7.906 kB / 0.5061 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.3529, allocations: 9.719 kB / 0.5061 GB, free: 14.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.353, allocations: 310.8 kB / 0.5064 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.353, allocations: 8 kB / 0.5064 GB, free: 13.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.353, allocations: 0 / 0.5064 GB, free: 13.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.353, allocations: 20.91 kB / 0.5064 GB, free: 13.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.353, allocations: 3.938 kB / 0.5064 GB, free: 13.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.285e-05/0.3531, allocations: 37.7 kB / 0.5064 GB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3531, allocations: 10.44 kB / 0.5064 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3531, allocations: 0 / 0.5064 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3532, allocations: 7.875 kB / 0.5065 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.3532, allocations: 7.984 kB / 0.5065 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3533, allocations: 0 / 0.5065 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.3533, allocations: 3.797 kB / 0.5065 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3533, allocations: 4 kB / 0.5065 GB, free: 13.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.194e-05/0.3534, allocations: 117.8 kB / 0.5066 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.3534, allocations: 0 / 0.5066 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.3535, allocations: 56.75 kB / 0.5066 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3535, allocations: 0 / 0.5066 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3535, allocations: 0 / 0.5066 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3535, allocations: 3.984 kB / 0.5066 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3537, allocations: 153.6 kB / 0.5068 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3537, allocations: 0 / 0.5068 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.3537, allocations: 15.92 kB / 0.5068 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3537, allocations: 0 / 0.5068 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-06/0.3537, allocations: 0 / 0.5068 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3537, allocations: 7.984 kB / 0.5068 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3537, allocations: 4 kB / 0.5068 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.933e-05/0.3538, allocations: 135.5 kB / 0.5069 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.3538, allocations: 85.02 kB / 0.507 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3539, allocations: 4 kB / 0.507 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.3539, allocations: 4 kB / 0.507 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.3539, allocations: 0 / 0.507 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.354, allocations: 0 / 0.507 GB, free: 12.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.948e-05/0.354, allocations: 83.27 kB / 0.5071 GB, free: 12.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.354, allocations: 0 / 0.5071 GB, free: 12.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.3542, allocations: 0 / 0.5071 GB, free: 12.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 7.265e-05/0.3543, allocations: 95.25 kB / 0.5072 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.3544, allocations: 15.94 kB / 0.5072 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3544, allocations: 4.062 kB / 0.5072 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.3544, allocations: 11.98 kB / 0.5072 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.3546, allocations: 3.938 kB / 0.5072 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.3549, allocations: 106 kB / 0.5073 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.355, allocations: 0.6728 MB / 0.508 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.403e-05/0.355, allocations: 7.938 kB / 0.508 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.3551, allocations: 11.44 kB / 0.508 GB, free: 11.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3551, allocations: 4 kB / 0.508 GB, free: 11.92 MB / 382.1 MB Notification: Performance of Templates: time 0.00208/0.3572, allocations: 292.4 kB / 0.5083 GB, free: 11.64 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)