Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001434/0.001434, allocations: 103.6 kB / 16.41 MB, free: 6.512 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.001114/0.001114, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002333/0.002333, allocations: 287.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9693/0.9693, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 95.86 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5451, allocations: 86.98 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003344/0.5485, allocations: 1.601 MB / 0.7686 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.5498, allocations: 0.6483 MB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.55, allocations: 0 / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.5502, allocations: 75.83 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.5506, allocations: 103.7 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.5511, allocations: 101.7 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.5514, allocations: 127.7 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.5515, allocations: 15.98 kB / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.5517, allocations: 79.69 kB / 0.7697 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.5519, allocations: 103.8 kB / 0.7698 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.552, allocations: 4 kB / 0.7698 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.5521, allocations: 79.92 kB / 0.7699 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.221e-05/0.5522, allocations: 35.83 kB / 0.7699 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.5523, allocations: 63.59 kB / 0.77 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.5526, allocations: 163.1 kB / 0.7701 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.85e-06/0.5527, allocations: 0 / 0.7701 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5527, allocations: 4 kB / 0.7701 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.5527, allocations: 0 / 0.7701 GB, free: 0.7812 MB / 0.5294 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.0008242/0.5535, allocations: 478.9 kB / 0.7706 GB, free: 268 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5536, allocations: 16.02 kB / 0.7706 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.5536, allocations: 16.75 kB / 0.7706 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.554, allocations: 224.1 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.554, allocations: 384 / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.5541, allocations: 4.375 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.5543, allocations: 135.6 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5543, allocations: 0 / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5544, allocations: 0 / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.5544, allocations: 4 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.5545, allocations: 71.95 kB / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.555, allocations: 400.8 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.5552, allocations: 121.2 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.5554, allocations: 81.73 kB / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5554, allocations: 0 / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.5557, allocations: 182.9 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.5557, allocations: 0 / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005191/0.5562, allocations: 335 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.5563, allocations: 106.8 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.5565, allocations: 210.8 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.5565, allocations: 29.69 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.5566, allocations: 112.1 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.5566, allocations: 35.45 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.5567, allocations: 33.7 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5568, allocations: 330.8 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.5569, allocations: 67.91 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.855e-05/0.557, allocations: 77.94 kB / 0.7731 GB, free: 13.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.5572, allocations: 197.1 kB / 0.7733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.5572, allocations: 0 / 0.7733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003338/0.5576, allocations: 263.1 kB / 0.7735 GB, free: 13.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.5576, allocations: 37.69 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5576, allocations: 4 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.5577, allocations: 4 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.5578, allocations: 15.92 kB / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5578, allocations: 4 kB / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.5579, allocations: 15.84 kB / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.5579, allocations: 4 kB / 0.7736 GB, free: 12.92 MB / 0.545 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.0001647/0.5581, allocations: 180.2 kB / 0.7738 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.5581, allocations: 19.81 kB / 0.7738 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.5584, allocations: 107.1 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5584, allocations: 0 / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5584, allocations: 4 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5584, allocations: 0 / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.5586, allocations: 229.5 kB / 0.7741 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5587, allocations: 0 / 0.7741 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.5587, allocations: 8 kB / 0.7741 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5587, allocations: 4 kB / 0.7741 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.5588, allocations: 11.98 kB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5588, allocations: 7.938 kB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5588, allocations: 0 / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.5592, allocations: 334.3 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.5593, allocations: 112.8 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.5593, allocations: 8 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5594, allocations: 7.984 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.5595, allocations: 16.08 kB / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.5595, allocations: 7.938 kB / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001351/0.5597, allocations: 168.2 kB / 0.7748 GB, free: 11.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5597, allocations: 0 / 0.7748 GB, free: 11.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002746/0.56, allocations: 44 kB / 0.7748 GB, free: 11.56 MB / 0.545 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.0002035/0.5602, allocations: 131.2 kB / 0.7749 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.5605, allocations: 243.3 kB / 0.7752 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5605, allocations: 8 kB / 0.7752 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.5607, allocations: 163.3 kB / 0.7753 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.5609, allocations: 18.61 kB / 0.7754 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.5616, allocations: 370.2 kB / 0.7757 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.5619, allocations: 0.7311 MB / 0.7764 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.562, allocations: 11.44 kB / 0.7764 GB, free: 9.816 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.562, allocations: 0 / 0.7764 GB, free: 9.816 MB / 0.545 GB Notification: Performance of Templates: time 0.004178/0.5661, allocations: 1.893 MB / 0.7783 GB, free: 7.938 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)