Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 187.4 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 222.9 MB / 0.7948 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 118.5 kB / 0.9329 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 53.42 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3341, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003259/0.3374, allocations: 1.542 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3386, allocations: 0.6009 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.3387, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.3389, allocations: 71.89 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.3391, allocations: 83.8 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.3395, allocations: 67.5 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3396, allocations: 95.73 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3398, allocations: 12 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.3399, allocations: 55.81 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3401, allocations: 79.84 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3401, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.3403, allocations: 71.94 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.3404, allocations: 35.78 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.3404, allocations: 43.66 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.3407, allocations: 131.7 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3407, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3407, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3407, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005604/0.3413, allocations: 454.6 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3413, allocations: 15.92 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.3414, allocations: 16.75 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3416, allocations: 208.8 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3416, allocations: 4.375 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3417, allocations: 8.375 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3419, allocations: 111.6 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3419, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3419, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.3419, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3421, allocations: 59.97 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.3425, allocations: 301.7 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3426, allocations: 97.19 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3427, allocations: 73.73 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3428, allocations: 4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.343, allocations: 158.9 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.343, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0004683/0.3435, allocations: 291.1 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.3436, allocations: 110.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3438, allocations: 199.1 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3438, allocations: 29.7 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3438, allocations: 112.2 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3439, allocations: 31.55 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.3439, allocations: 21.72 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.344, allocations: 334.8 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.3441, allocations: 47.97 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.3442, allocations: 73.62 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3444, allocations: 181 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3444, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000296/0.3447, allocations: 239.2 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.3447, allocations: 37.69 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3448, allocations: 8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3448, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3449, allocations: 8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3449, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.345, allocations: 7.984 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.345, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (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 (6): * Single equations (assignments): 5 * 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.0001277/0.3452, allocations: 185.3 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.3452, allocations: 19.8 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.3454, allocations: 59.09 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3454, allocations: 144 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3454, allocations: 7.984 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3454, allocations: 3.984 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.3456, allocations: 217.4 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3456, allocations: 4 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.3456, allocations: 12 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3457, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3457, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3457, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3457, allocations: 3.938 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.3464, allocations: 0.9542 MB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.3464, allocations: 104.8 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.3465, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.3466, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.3466, allocations: 15.92 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3466, allocations: 4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001333/0.3468, allocations: 153.2 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3468, allocations: 0 / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005323/0.3473, allocations: 36 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0002039/0.3475, allocations: 127.2 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.3478, allocations: 219.3 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3479, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.348, allocations: 159.3 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3483, allocations: 9.375 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.349, allocations: 492.2 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3492, allocations: 0.7236 MB / 1.227 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3492, allocations: 0 / 1.227 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.3492, allocations: 11.44 kB / 1.227 GB, free: 107 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/0.3492, allocations: 0 / 1.227 GB, free: 107 MB / 0.823 GB Notification: Performance of Templates: time 0.004497/0.3537, allocations: 1.311 MB / 1.229 GB, free: 105.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)