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.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00125/0.00125, allocations: 193.7 kB / 16.14 MB, free: 6.688 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 65.81 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003104/0.3295, allocations: 1.663 MB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3308, allocations: 0.6622 MB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.3309, allocations: 4 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.3311, allocations: 71.81 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.3314, allocations: 99.75 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.3317, allocations: 79.28 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.3318, allocations: 119.7 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.3319, allocations: 11.98 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3321, allocations: 75.73 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.3323, allocations: 99.78 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.3323, allocations: 4 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3324, allocations: 79.86 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.3325, allocations: 31.89 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.3326, allocations: 55.61 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3328, allocations: 155.8 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3328, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3328, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3329, allocations: 4 kB / 1.071 GB, free: 7.707 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.000825/0.3337, allocations: 476.4 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3337, allocations: 16.02 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.3338, allocations: 16.75 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3341, allocations: 209.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3341, allocations: 12.23 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3341, allocations: 8.375 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.3344, allocations: 123.7 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3344, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.3345, allocations: 8 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3345, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3346, allocations: 67.91 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.3352, allocations: 408.8 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.3354, allocations: 121.1 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3355, allocations: 81.83 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3356, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.3359, allocations: 178.8 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.3359, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005462/0.3365, allocations: 335.2 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.398e-05/0.3366, allocations: 110.8 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.3368, allocations: 218.5 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3368, allocations: 25.7 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3369, allocations: 112.1 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.3369, allocations: 31.55 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.636e-05/0.337, allocations: 41.61 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3372, allocations: 334.8 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.3373, allocations: 55.97 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3374, allocations: 77.69 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.3376, allocations: 197 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3376, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000424/0.338, allocations: 267.1 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.3381, allocations: 45.69 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3381, allocations: 0 / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3381, allocations: 4 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3382, allocations: 12.08 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3382, allocations: 4 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.991e-05/0.3383, allocations: 7.906 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.3384, allocations: 7.984 kB / 1.074 GB, free: 3.848 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.0001641/0.3385, allocations: 182.3 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.3386, allocations: 19.81 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.3388, allocations: 103 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3388, allocations: 0 / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.3388, allocations: 4 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3388, allocations: 0 / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.339, allocations: 237.8 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.339, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.3391, allocations: 12 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3391, allocations: 4 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3391, allocations: 11.98 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3391, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3391, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.3395, allocations: 339.3 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.3396, allocations: 100.9 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.3397, allocations: 8 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3399, allocations: 11.98 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.3399, allocations: 7.984 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.34, allocations: 8 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001923/0.3402, allocations: 164.2 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3402, allocations: 3.938 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002799/0.3405, allocations: 43.91 kB / 1.075 GB, free: 2.496 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.0001969/0.3407, allocations: 145 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.341, allocations: 231.3 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3411, allocations: 4 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3413, allocations: 167.3 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3415, allocations: 19.78 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.3421, allocations: 376.3 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3425, allocations: 0.7283 MB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.581e-05/0.3426, allocations: 12.11 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.3426, allocations: 11.44 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3426, allocations: 0 / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of Templates: time 0.004647/0.3473, allocations: 1.552 MB / 1.078 GB, free: 15.2 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)