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.001612/0.001612, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001864/0.001864, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.388/1.388, 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.002153/0.002153, allocations: 295 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9672/0.9672, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 100.3 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3963, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002474/0.3988, allocations: 1.597 MB / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000989/0.3998, allocations: 0.6445 MB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.3999, allocations: 0 / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.4, allocations: 87.75 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.4003, allocations: 99.67 kB / 0.7694 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.4006, allocations: 91.77 kB / 0.7695 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.4008, allocations: 139.6 kB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.216e-05/0.4008, allocations: 8 kB / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.401, allocations: 75.8 kB / 0.7697 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.4012, allocations: 107.8 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.4012, allocations: 11.88 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4013, allocations: 75.94 kB / 0.7699 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.4014, allocations: 27.91 kB / 0.7699 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.4015, allocations: 63.61 kB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.4017, allocations: 163.1 kB / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4017, allocations: 0 / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4017, allocations: 0 / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.4017, allocations: 0 / 0.7701 GB, free: 0.75 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.0006332/0.4023, allocations: 482.9 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.4024, allocations: 8.031 kB / 0.7706 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.4024, allocations: 16.75 kB / 0.7706 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.4027, allocations: 236 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4027, allocations: 4.375 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.4027, allocations: 4.375 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.4029, allocations: 129.7 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4029, allocations: 0 / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.403, allocations: 0 / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.403, allocations: 4 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.4031, allocations: 75.89 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.4035, allocations: 412.9 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.4037, allocations: 117.1 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4038, allocations: 81.78 kB / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.4038, allocations: 0 / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.4041, allocations: 178.7 kB / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.4041, allocations: 0 / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004973/0.4046, allocations: 331 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.4047, allocations: 106.8 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.4048, allocations: 214.8 kB / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.4049, allocations: 29.64 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.4049, allocations: 120.1 kB / 0.7726 GB, free: 13.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.405, allocations: 35.61 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.405, allocations: 29.7 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4052, allocations: 330.8 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.4053, allocations: 63.97 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.4054, allocations: 80.5 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.4056, allocations: 197 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4056, allocations: 4 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003245/0.4059, allocations: 267.1 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.4059, allocations: 33.7 kB / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.406, allocations: 0 / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.406, allocations: 0 / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.4061, allocations: 15.98 kB / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4061, allocations: 0 / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.4062, allocations: 19.84 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.4062, allocations: 7.984 kB / 0.7736 GB, free: 12.88 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.0001414/0.4064, allocations: 183.5 kB / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.4064, allocations: 23.8 kB / 0.7738 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.4066, allocations: 91.17 kB / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4066, allocations: 3.984 kB / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4066, allocations: 4.359 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.4067, allocations: 100.9 kB / 0.774 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.4068, allocations: 12 kB / 0.774 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.4069, allocations: 19.92 kB / 0.774 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.4069, allocations: 8 kB / 0.774 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004808/0.4074, allocations: 0.4894 MB / 0.7745 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004511/0.4079, allocations: 0.5385 MB / 0.775 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001255/0.408, allocations: 99.97 kB / 0.7751 GB, free: 11.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001258/0.4082, allocations: 172.2 kB / 0.7753 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Backend: time 3.21e-07/0.4082, allocations: 0 / 0.7753 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006548/0.4088, allocations: 273.7 kB / 0.7756 GB, free: 10.77 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006363/0.4095, allocations: 0.7851 MB / 0.7763 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Templates: time 0.004555/0.414, allocations: 1.749 MB / 0.778 GB, free: 8.223 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)