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 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_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.001108/0.001108, allocations: 108 kB / 15.6 MB, free: 132 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.001244/0.001244, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.705/2.705, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.48 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3184, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002788/0.3212, allocations: 1.606 MB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3224, allocations: 0.6465 MB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.3224, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.3226, allocations: 75.83 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.3229, allocations: 103.7 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.3233, allocations: 106.7 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3235, allocations: 127.7 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.3236, allocations: 15.91 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3237, allocations: 71.81 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3239, allocations: 111.7 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.3239, allocations: 8 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.3241, allocations: 75.92 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.3241, allocations: 23.92 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.3242, allocations: 63.59 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3245, allocations: 159.8 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3245, allocations: 4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3245, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3245, allocations: 7.938 kB / 1.071 GB, free: 7.195 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.0006674/0.3252, allocations: 476.4 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3252, allocations: 12.03 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.3253, allocations: 20.75 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3255, allocations: 209.8 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3255, allocations: 384 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3255, allocations: 4.375 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.3257, allocations: 131.6 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3257, allocations: 3.938 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3258, allocations: 7.969 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3258, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.3259, allocations: 67.97 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.3263, allocations: 416.8 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3265, allocations: 117.2 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3266, allocations: 77.78 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3267, allocations: 4 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.327, allocations: 174.7 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.327, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004959/0.3275, allocations: 331.2 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.3276, allocations: 110.8 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.3278, allocations: 214.6 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3278, allocations: 29.7 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.3279, allocations: 116.1 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3279, allocations: 31.55 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.328, allocations: 37.62 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3281, allocations: 330.8 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.3282, allocations: 59.98 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-05/0.3283, allocations: 87.39 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3285, allocations: 189.3 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3285, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003215/0.3288, allocations: 271.1 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.3288, allocations: 33.7 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3289, allocations: 4 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3289, allocations: 3.984 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.329, allocations: 16 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.329, allocations: 3.938 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3291, allocations: 15.89 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3292, allocations: 7.938 kB / 1.075 GB, free: 3.332 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.0001472/0.3293, allocations: 179.5 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.3293, allocations: 19.81 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.3296, allocations: 95.08 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3296, allocations: 3.984 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3296, allocations: 0 / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3296, allocations: 4 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.3298, allocations: 229.5 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3298, allocations: 0 / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.3299, allocations: 15.92 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3299, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3299, allocations: 12 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3299, allocations: 4 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3299, allocations: 96 / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.3303, allocations: 335.3 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.3304, allocations: 108.9 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.3304, allocations: 4.188 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.3305, allocations: 4 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.3306, allocations: 19.92 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3306, allocations: 4.125 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000128/0.3308, allocations: 164.2 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3308, allocations: 0 / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002549/0.331, allocations: 51.91 kB / 1.076 GB, free: 1.984 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.0001932/0.3312, allocations: 125 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.3316, allocations: 255.3 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3316, allocations: 4 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.3317, allocations: 163.3 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.332, allocations: 24.33 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.3326, allocations: 340.4 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3328, allocations: 0.7359 MB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.3329, allocations: 4 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.3329, allocations: 15.42 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3329, allocations: 0 / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of Templates: time 0.004428/0.3373, allocations: 1.668 MB / 1.079 GB, free: 14.6 MB / 0.8419 GB 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)