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.001655/0.001655, allocations: 106 kB / 15.99 MB, free: 6.355 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.002007/0.002007, allocations: 196.7 kB / 16.91 MB, free: 6.199 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 289.9 kB / 291 MB, free: 14.74 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.231/1.231, allocations: 178.5 MB / 0.5076 GB, free: 12.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 95.84 kB / 0.6066 GB, free: 9.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.193, allocations: 89.14 MB / 0.6936 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003044/0.1961, allocations: 1.665 MB / 0.6953 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1972, allocations: 0.6311 MB / 0.6959 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.1973, allocations: 0 / 0.6959 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.1975, allocations: 83.81 kB / 0.6959 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1978, allocations: 95.78 kB / 0.696 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1981, allocations: 90.72 kB / 0.6961 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1983, allocations: 131.6 kB / 0.6962 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.1984, allocations: 15.98 kB / 0.6963 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1986, allocations: 71.75 kB / 0.6963 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1988, allocations: 107.8 kB / 0.6964 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1988, allocations: 8 kB / 0.6964 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1989, allocations: 75.92 kB / 0.6965 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.199, allocations: 27.92 kB / 0.6965 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.1991, allocations: 59.61 kB / 0.6966 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1993, allocations: 124 kB / 0.6967 GB, free: 13.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1993, allocations: 0 / 0.6967 GB, free: 13.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1993, allocations: 0 / 0.6967 GB, free: 13.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.1993, allocations: 0 / 0.6967 GB, free: 13.29 MB / 0.545 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.0007582/0.2001, allocations: 480.3 kB / 0.6972 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2002, allocations: 8.031 kB / 0.6972 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.2002, allocations: 20.69 kB / 0.6972 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.2005, allocations: 211.9 kB / 0.6974 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2005, allocations: 4.375 kB / 0.6974 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.2005, allocations: 12.38 kB / 0.6974 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.2008, allocations: 119.7 kB / 0.6975 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2008, allocations: 7.938 kB / 0.6975 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.2008, allocations: 4 kB / 0.6975 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2008, allocations: 0 / 0.6975 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.201, allocations: 67.95 kB / 0.6976 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.2015, allocations: 416.8 kB / 0.698 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2017, allocations: 121 kB / 0.6981 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.2018, allocations: 77.78 kB / 0.6982 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2018, allocations: 4 kB / 0.6982 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.2022, allocations: 174.8 kB / 0.6984 GB, free: 11.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2022, allocations: 0 / 0.6984 GB, free: 11.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005634/0.2028, allocations: 343 kB / 0.6987 GB, free: 11.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.2029, allocations: 110.8 kB / 0.6988 GB, free: 10.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.2031, allocations: 211.2 kB / 0.699 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.2031, allocations: 29.7 kB / 0.699 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.2032, allocations: 116.1 kB / 0.6991 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.2033, allocations: 31.55 kB / 0.6992 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.2033, allocations: 33.7 kB / 0.6992 GB, free: 10.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2035, allocations: 330.8 kB / 0.6995 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2036, allocations: 59.97 kB / 0.6996 GB, free: 10.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2037, allocations: 73.69 kB / 0.6996 GB, free: 10 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.204, allocations: 197 kB / 0.6998 GB, free: 9.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.204, allocations: 7.938 kB / 0.6998 GB, free: 9.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003554/0.2043, allocations: 267.1 kB / 0.7001 GB, free: 9.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.2044, allocations: 41.69 kB / 0.7001 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2044, allocations: 0 / 0.7001 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2044, allocations: 0 / 0.7001 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2045, allocations: 12 kB / 0.7001 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.2046, allocations: 3.984 kB / 0.7002 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2047, allocations: 4 kB / 0.7002 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2047, allocations: 4 kB / 0.7002 GB, free: 9.441 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.0001733/0.2049, allocations: 195.1 kB / 0.7003 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2049, allocations: 19.72 kB / 0.7004 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.2051, allocations: 95.06 kB / 0.7005 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2052, allocations: 4 kB / 0.7005 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2052, allocations: 0 / 0.7005 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2052, allocations: 0 / 0.7005 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.2054, allocations: 245.4 kB / 0.7007 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2054, allocations: 4 kB / 0.7007 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.2055, allocations: 12.31 kB / 0.7007 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2055, allocations: 0 / 0.7007 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2055, allocations: 8 kB / 0.7007 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2055, allocations: 0 / 0.7007 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2055, allocations: 3.984 kB / 0.7007 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.206, allocations: 327.4 kB / 0.701 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.2061, allocations: 108.9 kB / 0.7011 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.2062, allocations: 4.094 kB / 0.7011 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2063, allocations: 11.98 kB / 0.7012 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.2063, allocations: 15.92 kB / 0.7012 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.2064, allocations: 11.98 kB / 0.7012 GB, free: 8.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000147/0.2065, allocations: 159 kB / 0.7013 GB, free: 8.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2065, allocations: 0 / 0.7013 GB, free: 8.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002799/0.2068, allocations: 48 kB / 0.7014 GB, free: 8.074 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.0002356/0.207, allocations: 144.5 kB / 0.7015 GB, free: 7.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003956/0.2075, allocations: 239.3 kB / 0.7017 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2075, allocations: 0 / 0.7017 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.2077, allocations: 171.3 kB / 0.7019 GB, free: 7.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2079, allocations: 22.86 kB / 0.7019 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.2086, allocations: 417.9 kB / 0.7023 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.209, allocations: 0.7275 MB / 0.703 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.209, allocations: 11.44 kB / 0.703 GB, free: 6.277 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.209, allocations: 0 / 0.703 GB, free: 6.277 MB / 0.545 GB Notification: Performance of Templates: time 0.00411/0.2132, allocations: 1.861 MB / 0.7049 GB, free: 4.426 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)