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.006843/0.006843, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001319/0.001319, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4784/0.4784, allocations: 95.47 MB / 365.4 MB, free: 12.16 MB / 318.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.00146/0.00146, allocations: 68.56 kB / 0.5036 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3541, allocations: 69.09 MB / 0.5711 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001887/0.356, allocations: 0.6485 MB / 0.5717 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3573, allocations: 1.121 MB / 0.5728 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.3573, allocations: 0 / 0.5728 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.3574, allocations: 0 / 0.5728 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.011e-05/0.3574, allocations: 0 / 0.5728 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3576, allocations: 15.92 kB / 0.5728 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.3577, allocations: 15.98 kB / 0.5728 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3578, allocations: 7.984 kB / 0.5728 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.3579, allocations: 11.94 kB / 0.5729 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.3579, allocations: 3.984 kB / 0.5729 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.358, allocations: 4 kB / 0.5729 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.358, allocations: 4 kB / 0.5729 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.358, allocations: 0 / 0.5729 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.358, allocations: 3.984 kB / 0.5729 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.544e-05/0.3581, allocations: 19.86 kB / 0.5729 GB, free: 2.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3581, allocations: 0 / 0.5729 GB, free: 2.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3581, allocations: 0 / 0.5729 GB, free: 2.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3581, allocations: 0 / 0.5729 GB, free: 2.266 MB / 430.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.0004053/0.3586, allocations: 323.1 kB / 0.5732 GB, free: 1.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3586, allocations: 11.98 kB / 0.5732 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.3586, allocations: 4.938 kB / 0.5732 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.3587, allocations: 160.4 kB / 0.5734 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3588, allocations: 384 / 0.5734 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3588, allocations: 4.375 kB / 0.5734 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3589, allocations: 38 kB / 0.5734 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3589, allocations: 0 / 0.5734 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3589, allocations: 4 kB / 0.5734 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3589, allocations: 3.984 kB / 0.5734 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.359, allocations: 7.938 kB / 0.5734 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.3593, allocations: 244.9 kB / 0.5737 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/0.3594, allocations: 22.58 kB / 0.5737 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.3594, allocations: 8.922 kB / 0.5737 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3595, allocations: 0 / 0.5737 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3595, allocations: 30.56 kB / 0.5737 GB, free: 1.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3595, allocations: 0 / 0.5737 GB, free: 1.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.3597, allocations: 53.56 kB / 0.5738 GB, free: 1.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3597, allocations: 55.41 kB / 0.5738 GB, free: 1.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.315e-05/0.3598, allocations: 89.86 kB / 0.5739 GB, free: 1.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3598, allocations: 25.7 kB / 0.5739 GB, free: 1.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.3598, allocations: 84.14 kB / 0.574 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.3598, allocations: 3.906 kB / 0.574 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.3599, allocations: 17.7 kB / 0.574 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.36, allocations: 311 kB / 0.5743 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.36, allocations: 8 kB / 0.5743 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.36, allocations: 7.938 kB / 0.5743 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.3601, allocations: 8.859 kB / 0.5743 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3601, allocations: 3.938 kB / 0.5744 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.215e-05/0.3601, allocations: 45.62 kB / 0.5744 GB, free: 0.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3602, allocations: 8 kB / 0.5744 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3602, allocations: 4 kB / 0.5744 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3602, allocations: 0 / 0.5744 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.3603, allocations: 8.094 kB / 0.5744 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3603, allocations: 0 / 0.5744 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.3603, allocations: 0 / 0.5744 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3603, allocations: 0 / 0.5744 GB, free: 492 kB / 430.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 6.816e-05/0.3604, allocations: 114.4 kB / 0.5745 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3604, allocations: 7.984 kB / 0.5745 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.3605, allocations: 48.75 kB / 0.5746 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3605, allocations: 4 kB / 0.5746 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3606, allocations: 4 kB / 0.5746 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3606, allocations: 0 / 0.5746 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.3607, allocations: 157.5 kB / 0.5747 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3607, allocations: 4 kB / 0.5747 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.3608, allocations: 4 kB / 0.5747 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3608, allocations: 0 / 0.5747 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3608, allocations: 0 / 0.5747 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3608, allocations: 0 / 0.5747 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3608, allocations: 0 / 0.5747 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.3609, allocations: 143.5 kB / 0.5749 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.361, allocations: 87.28 kB / 0.575 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.361, allocations: 96 / 0.575 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.361, allocations: 4 kB / 0.575 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.361, allocations: 7.984 kB / 0.575 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.3611, allocations: 0 / 0.575 GB, free: 15.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.543e-05/0.3611, allocations: 75.28 kB / 0.575 GB, free: 15.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3611, allocations: 0 / 0.575 GB, free: 15.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.3613, allocations: 8 kB / 0.5751 GB, free: 15.73 MB / 446.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 9.431e-05/0.3614, allocations: 100.2 kB / 0.5751 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.3615, allocations: 19.98 kB / 0.5752 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.3615, allocations: 0 / 0.5752 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.3615, allocations: 11.88 kB / 0.5752 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.3618, allocations: 7.938 kB / 0.5752 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.362, allocations: 97.72 kB / 0.5753 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3623, allocations: 0.6807 MB / 0.5759 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.795e-05/0.3623, allocations: 0 / 0.5759 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.3623, allocations: 11.44 kB / 0.576 GB, free: 14.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3623, allocations: 0 / 0.576 GB, free: 14.75 MB / 446.1 MB Notification: Performance of Templates: time 0.002376/0.3647, allocations: 291.7 kB / 0.5762 GB, free: 14.47 MB / 446.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)