Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001082/0.001082, allocations: 108 kB / 15.61 MB, free: 152 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.001144/0.001144, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 472.6 MB / 0.7451 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.92 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3744, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003052/0.3775, allocations: 1.595 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3787, allocations: 0.6542 MB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.3788, allocations: 3.938 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.3789, allocations: 75.83 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.3792, allocations: 103.7 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3796, allocations: 95.75 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.3798, allocations: 135.6 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3799, allocations: 11.98 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.38, allocations: 79.73 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.3802, allocations: 107.8 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.3803, allocations: 8 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3804, allocations: 71.94 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.3805, allocations: 31.91 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.3806, allocations: 55.61 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.3808, allocations: 159.8 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3809, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3809, allocations: 4 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3809, allocations: 0 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007461/0.3816, allocations: 480.4 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3817, allocations: 12.03 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.3817, allocations: 16.75 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.382, allocations: 225.7 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.382, allocations: 384 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.382, allocations: 4.375 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3823, allocations: 131.6 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3823, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3823, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3823, allocations: 4 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3824, allocations: 75.89 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3829, allocations: 404.8 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3831, allocations: 121.2 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3832, allocations: 81.69 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3832, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.3836, allocations: 186.1 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.093e-06/0.3836, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005317/0.3841, allocations: 331 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.3842, allocations: 106.8 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3844, allocations: 214.6 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3845, allocations: 25.7 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.3845, allocations: 116.1 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3846, allocations: 39.62 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.3847, allocations: 37.61 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3848, allocations: 330.8 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.3849, allocations: 63.97 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.385, allocations: 77.69 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.3852, allocations: 197.3 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3852, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003331/0.3856, allocations: 263.1 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.3856, allocations: 41.69 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3856, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3856, allocations: 4 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3858, allocations: 11.98 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.3858, allocations: 4 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3859, allocations: 15.84 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3859, allocations: 4 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,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 (10): * Single equations (assignments): 9 * 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.0001533/0.3861, allocations: 179.4 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.3861, allocations: 23.81 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.3863, allocations: 95.16 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3864, allocations: 3.984 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3864, allocations: 0 / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3864, allocations: 4 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.3866, allocations: 233.5 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3866, allocations: 0 / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.3866, allocations: 8 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3867, allocations: 8 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3867, allocations: 12.02 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3867, allocations: 7.938 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3867, allocations: 0 / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.3871, allocations: 331.3 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.3872, allocations: 104.9 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.3873, allocations: 4 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.3874, allocations: 12.11 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.3874, allocations: 15.98 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.3875, allocations: 4 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00013/0.3876, allocations: 168.2 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3876, allocations: 4 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002568/0.3879, allocations: 47.91 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0001946/0.3881, allocations: 126.4 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.3884, allocations: 251.3 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3884, allocations: 4 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.3886, allocations: 163.3 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3888, allocations: 20.34 kB / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.3895, allocations: 340.4 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3898, allocations: 0.732 MB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.3898, allocations: 7.984 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.3899, allocations: 11.44 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3899, allocations: 0 / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of Templates: time 0.004669/0.3945, allocations: 1.662 MB / 1.079 GB, free: 14.65 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)