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.0008575/0.0008576, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007152/0.007152, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.544/1.544, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.6044/0.6044, allocations: 95.63 MB / 366.4 MB, free: 10.3 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.0006262/0.0006261, allocations: 16 kB / 447.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3858, allocations: 70.33 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.0008861/0.3868, allocations: 388.3 kB / 0.506 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.3878, allocations: 1.113 MB / 0.5071 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.3878, allocations: 0 / 0.5071 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.3878, allocations: 0 / 0.5071 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.352e-05/0.3879, allocations: 0 / 0.5071 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.3881, allocations: 15.98 kB / 0.5071 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.3881, allocations: 7.938 kB / 0.5071 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3882, allocations: 8 kB / 0.5072 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.3883, allocations: 11.97 kB / 0.5072 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.3884, allocations: 7.938 kB / 0.5072 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3884, allocations: 4 kB / 0.5072 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.3885, allocations: 0 / 0.5072 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.3885, allocations: 0 / 0.5072 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.3885, allocations: 25.7 kB / 0.5072 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.556e-05/0.3886, allocations: 15.92 kB / 0.5072 GB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3886, allocations: 0 / 0.5072 GB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3886, allocations: 0 / 0.5072 GB, free: 14.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3886, allocations: 0 / 0.5072 GB, free: 14.74 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.0002945/0.3889, allocations: 311.6 kB / 0.5075 GB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.389, allocations: 11.98 kB / 0.5075 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.389, allocations: 12.84 kB / 0.5075 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.637e-05/0.3891, allocations: 162.4 kB / 0.5077 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3891, allocations: 384 / 0.5077 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.3891, allocations: 384 / 0.5077 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3892, allocations: 45.94 kB / 0.5077 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3892, allocations: 0 / 0.5077 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3892, allocations: 0 / 0.5077 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3893, allocations: 4 kB / 0.5077 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.3893, allocations: 11.92 kB / 0.5077 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.3896, allocations: 244.9 kB / 0.508 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.048e-05/0.3897, allocations: 18.58 kB / 0.508 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.3897, allocations: 16.86 kB / 0.508 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3897, allocations: 7.969 kB / 0.508 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.3897, allocations: 34.56 kB / 0.5081 GB, free: 13.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3898, allocations: 4 kB / 0.5081 GB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001468/0.3899, allocations: 37.7 kB / 0.5081 GB, free: 13.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.3899, allocations: 51.41 kB / 0.5081 GB, free: 13.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.962e-05/0.39, allocations: 89.86 kB / 0.5082 GB, free: 13.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.39, allocations: 25.7 kB / 0.5083 GB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.39, allocations: 84.12 kB / 0.5083 GB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.39, allocations: 7.906 kB / 0.5083 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.39, allocations: 9.719 kB / 0.5084 GB, free: 13.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.3901, allocations: 319 kB / 0.5087 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.3901, allocations: 3.938 kB / 0.5087 GB, free: 13.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.3901, allocations: 4 kB / 0.5087 GB, free: 13.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.3902, allocations: 12.86 kB / 0.5087 GB, free: 13.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3902, allocations: 3.938 kB / 0.5087 GB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.008e-05/0.3902, allocations: 37.69 kB / 0.5087 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3903, allocations: 10.03 kB / 0.5087 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3903, allocations: 0 / 0.5087 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3903, allocations: 8.031 kB / 0.5087 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.3904, allocations: 4 kB / 0.5087 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3904, allocations: 0 / 0.5087 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.3904, allocations: 7.938 kB / 0.5087 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.3904, allocations: 3.938 kB / 0.5087 GB, free: 12.95 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 4.858e-05/0.3905, allocations: 117.8 kB / 0.5089 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.3905, allocations: 0 / 0.5089 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.3906, allocations: 52.77 kB / 0.5089 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3906, allocations: 0 / 0.5089 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3906, allocations: 4 kB / 0.5089 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3906, allocations: 0 / 0.5089 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3908, allocations: 157.6 kB / 0.5091 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3908, allocations: 0 / 0.5091 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.3908, allocations: 4 kB / 0.5091 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3908, allocations: 0 / 0.5091 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.3908, allocations: 0 / 0.5091 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3908, allocations: 0 / 0.5091 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3908, allocations: 3.984 kB / 0.5091 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.33e-05/0.3909, allocations: 151.4 kB / 0.5092 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.3909, allocations: 81.02 kB / 0.5093 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3909, allocations: 3.938 kB / 0.5093 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.391, allocations: 8 kB / 0.5093 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.391, allocations: 0 / 0.5093 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.391, allocations: 96 / 0.5093 GB, free: 12.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.295e-05/0.391, allocations: 75.28 kB / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3911, allocations: 0 / 0.5094 GB, free: 12.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002012/0.3913, allocations: 8 kB / 0.5094 GB, free: 12.19 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.325e-05/0.3913, allocations: 99.23 kB / 0.5095 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.203e-05/0.3914, allocations: 19.92 kB / 0.5095 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3914, allocations: 0 / 0.5095 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.3914, allocations: 4 kB / 0.5095 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.3916, allocations: 11.94 kB / 0.5095 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.3919, allocations: 118.7 kB / 0.5096 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.392, allocations: 0.6731 MB / 0.5103 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.843e-05/0.392, allocations: 0 / 0.5103 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.392, allocations: 7.438 kB / 0.5103 GB, free: 11.2 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.392, allocations: 0 / 0.5103 GB, free: 11.2 MB / 382.1 MB Notification: Performance of Templates: time 0.002022/0.3941, allocations: 275.8 kB / 0.5106 GB, free: 10.94 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: