Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0012/0.0012, allocations: 104 kB / 16.52 MB, free: 6.27 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.001193/0.001192, allocations: 196 kB / 17.44 MB, free: 5.887 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 115.3 MB / 406.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001762, allocations: 67.89 kB / 493.6 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3782, allocations: 76.17 MB / 0.5564 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002649/0.3809, allocations: 1.642 MB / 0.558 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.3819, allocations: 0.6662 MB / 0.5586 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.382, allocations: 0 / 0.5586 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.3822, allocations: 80.23 kB / 0.5587 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.3825, allocations: 95.44 kB / 0.5588 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.3827, allocations: 77.77 kB / 0.5589 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.3829, allocations: 119.8 kB / 0.559 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.383, allocations: 11.62 kB / 0.559 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3831, allocations: 70.91 kB / 0.5591 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.3833, allocations: 95.25 kB / 0.5592 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.3834, allocations: 3.438 kB / 0.5592 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.3835, allocations: 75 kB / 0.5592 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.3836, allocations: 33.44 kB / 0.5593 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.3836, allocations: 54.58 kB / 0.5593 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.3838, allocations: 113.3 kB / 0.5594 GB, free: 33.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3838, allocations: 0.9688 kB / 0.5594 GB, free: 33.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3838, allocations: 0.6875 kB / 0.5594 GB, free: 33.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3838, allocations: 0 / 0.5594 GB, free: 33.67 MB / 446.1 MB 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.0006488/0.3845, allocations: 486.2 kB / 0.5599 GB, free: 33.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3845, allocations: 10.41 kB / 0.5599 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.3846, allocations: 25.34 kB / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.3848, allocations: 214.8 kB / 0.5601 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3848, allocations: 6.781 kB / 0.5601 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3849, allocations: 4.125 kB / 0.5601 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.3851, allocations: 125 kB / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3851, allocations: 5.406 kB / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3851, allocations: 5.5 kB / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.3851, allocations: 2.703 kB / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3853, allocations: 71.73 kB / 0.5603 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.3857, allocations: 406.9 kB / 0.5607 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3858, allocations: 122.7 kB / 0.5608 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.386, allocations: 80.84 kB / 0.5609 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.386, allocations: 5.688 kB / 0.5609 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.3863, allocations: 174.8 kB / 0.5611 GB, free: 32.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.3863, allocations: 2.75 kB / 0.5611 GB, free: 32.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005371/0.3868, allocations: 337.5 kB / 0.5614 GB, free: 32.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3869, allocations: 105.9 kB / 0.5615 GB, free: 32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3871, allocations: 210.9 kB / 0.5617 GB, free: 31.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3871, allocations: 27.86 kB / 0.5617 GB, free: 31.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.3872, allocations: 119.8 kB / 0.5619 GB, free: 31.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3872, allocations: 35.52 kB / 0.5619 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.3873, allocations: 27.72 kB / 0.5619 GB, free: 31.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.3873, allocations: 333.8 kB / 0.5622 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.3874, allocations: 60.89 kB / 0.5623 GB, free: 31.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.3876, allocations: 76.39 kB / 0.5624 GB, free: 31.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.3878, allocations: 198.4 kB / 0.5626 GB, free: 31.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3878, allocations: 0 / 0.5626 GB, free: 31.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003406/0.3881, allocations: 269.8 kB / 0.5628 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.3882, allocations: 38.98 kB / 0.5629 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3882, allocations: 1.062 kB / 0.5629 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3882, allocations: 2.672 kB / 0.5629 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3883, allocations: 12.94 kB / 0.5629 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3883, allocations: 2.406 kB / 0.5629 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3884, allocations: 14.33 kB / 0.5629 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3884, allocations: 5.891 kB / 0.5629 GB, free: 31.03 MB / 446.1 MB 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.0001262/0.3886, allocations: 182.4 kB / 0.5631 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.3886, allocations: 23.73 kB / 0.5631 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.3888, allocations: 94.16 kB / 0.5632 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3888, allocations: 2 kB / 0.5632 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3888, allocations: 7.234 kB / 0.5632 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3889, allocations: 96 / 0.5632 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.389, allocations: 238.9 kB / 0.5634 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.389, allocations: 0.7969 kB / 0.5634 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.3891, allocations: 17.23 kB / 0.5634 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3891, allocations: 1.688 kB / 0.5634 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3891, allocations: 8.672 kB / 0.5634 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3891, allocations: 1.844 kB / 0.5634 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3892, allocations: 0.6562 kB / 0.5634 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.3896, allocations: 324.5 kB / 0.5638 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.3897, allocations: 108.8 kB / 0.5639 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.3897, allocations: 9.594 kB / 0.5639 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3898, allocations: 6.547 kB / 0.5639 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.3899, allocations: 16.84 kB / 0.5639 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3899, allocations: 7.328 kB / 0.5639 GB, free: 30.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.39, allocations: 166.6 kB / 0.5641 GB, free: 30.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3901, allocations: 2 kB / 0.5641 GB, free: 30.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.3903, allocations: 43.05 kB / 0.5641 GB, free: 30.18 MB / 446.1 MB 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.000184/0.3905, allocations: 134.7 kB / 0.5642 GB, free: 30.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.3909, allocations: 239.9 kB / 0.5645 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3909, allocations: 1.156 kB / 0.5645 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3911, allocations: 165.7 kB / 0.5646 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.3913, allocations: 19.03 kB / 0.5646 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.392, allocations: 423.1 kB / 0.565 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.3922, allocations: 0.7247 MB / 0.5657 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.3922, allocations: 12.89 kB / 0.5658 GB, free: 28.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3922, allocations: 1.438 kB / 0.5658 GB, free: 28.86 MB / 446.1 MB Notification: Performance of Templates: time 0.00434/0.3966, allocations: 1.871 MB / 0.5676 GB, free: 28.7 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)