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.001743/0.001743, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002525/0.002525, allocations: 191.3 kB / 16.25 MB, free: 6.621 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 63.14 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3153, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002893/0.3183, allocations: 1.663 MB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3195, allocations: 0.6388 MB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.3196, allocations: 0 / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.3198, allocations: 71.81 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.3202, allocations: 103.7 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.3206, allocations: 83.84 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.3208, allocations: 131.7 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3209, allocations: 19.97 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3211, allocations: 75.73 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3213, allocations: 103.8 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3213, allocations: 8 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3215, allocations: 79.94 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.3215, allocations: 31.84 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.3216, allocations: 63.59 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3219, allocations: 159.8 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3219, allocations: 0 / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3219, allocations: 7.938 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3219, allocations: 0 / 1.071 GB, free: 7.535 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.0006864/0.3226, allocations: 476.4 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3226, allocations: 8.031 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.3227, allocations: 16.75 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3229, allocations: 213.8 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3229, allocations: 8.375 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.323, allocations: 8.312 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.3232, allocations: 131.6 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3232, allocations: 0 / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3232, allocations: 0 / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3232, allocations: 0 / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3234, allocations: 75.95 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.3238, allocations: 412.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.324, allocations: 121.1 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3241, allocations: 81.78 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3242, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.3244, allocations: 174.1 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3245, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005183/0.325, allocations: 339.2 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.325, allocations: 110.8 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3253, allocations: 214.6 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3253, allocations: 25.7 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.3254, allocations: 112.1 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3254, allocations: 35.56 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.3255, allocations: 33.61 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3256, allocations: 338.7 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/0.3257, allocations: 59.98 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.3258, allocations: 73.69 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.326, allocations: 201.4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.326, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003373/0.3264, allocations: 271.1 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.3264, allocations: 34.95 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3264, allocations: 0 / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3265, allocations: 0 / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3266, allocations: 19.92 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3266, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3267, allocations: 23.83 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3267, allocations: 4 kB / 1.074 GB, free: 3.672 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.0001649/0.3269, allocations: 178.3 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3269, allocations: 19.81 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.3272, allocations: 99.02 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3272, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3272, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3272, allocations: 3.984 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.3274, allocations: 237.5 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3274, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.3275, allocations: 11.98 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3275, allocations: 4 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.3275, allocations: 8 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3275, allocations: 0 / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3275, allocations: 4 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.328, allocations: 331.3 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.3281, allocations: 108.9 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.3281, allocations: 8.125 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3283, allocations: 12 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3283, allocations: 11.98 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3283, allocations: 4 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001283/0.3285, allocations: 164.2 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3285, allocations: 0 / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002541/0.3287, allocations: 43.91 kB / 1.075 GB, free: 2.332 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.0002042/0.3289, allocations: 136.2 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.3293, allocations: 255.2 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3293, allocations: 96 / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.3295, allocations: 167.2 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3298, allocations: 19.77 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.3304, allocations: 388.3 kB / 1.076 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3308, allocations: 0.7313 MB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.3308, allocations: 4 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.3309, allocations: 15.42 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3309, allocations: 0 / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of Templates: time 0.004576/0.3355, allocations: 1.623 MB / 1.079 GB, free: 14.94 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)