Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.198/0.1992, allocations: 82.22 MB / 0.5935 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001628/0.2009, allocations: 1.185 MB / 0.5946 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.2019, allocations: 0.5826 MB / 0.5952 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.202, allocations: 4 kB / 0.5952 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2021, allocations: 71.81 kB / 0.5953 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.2023, allocations: 79.81 kB / 0.5953 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.2026, allocations: 63.88 kB / 0.5954 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2027, allocations: 83.73 kB / 0.5955 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.2028, allocations: 7.984 kB / 0.5955 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2029, allocations: 55.81 kB / 0.5955 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.2031, allocations: 71.86 kB / 0.5956 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.2031, allocations: 0 / 0.5956 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.2032, allocations: 71.92 kB / 0.5957 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.2033, allocations: 23.91 kB / 0.5957 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.2033, allocations: 45.64 kB / 0.5957 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2035, allocations: 92.08 kB / 0.5958 GB, free: 3.559 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2035, allocations: 0 / 0.5958 GB, free: 3.559 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.207e-06/0.2035, allocations: 0 / 0.5958 GB, free: 3.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2035, allocations: 7.938 kB / 0.5958 GB, free: 3.551 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005073/0.204, allocations: 432.4 kB / 0.5963 GB, free: 3.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2041, allocations: 12.03 kB / 0.5963 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.2041, allocations: 11.81 kB / 0.5963 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.2043, allocations: 199.7 kB / 0.5965 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2043, allocations: 0 / 0.5965 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.2044, allocations: 7.953 kB / 0.5965 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2045, allocations: 103.4 kB / 0.5966 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2046, allocations: 3.938 kB / 0.5966 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2046, allocations: 7.938 kB / 0.5966 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2046, allocations: 4 kB / 0.5966 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.2047, allocations: 55.97 kB / 0.5966 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.2051, allocations: 301.6 kB / 0.5969 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2052, allocations: 97.12 kB / 0.597 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.2053, allocations: 81.73 kB / 0.5971 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.2053, allocations: 3.984 kB / 0.5971 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.2056, allocations: 154.7 kB / 0.5973 GB, free: 1.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.2056, allocations: 0 / 0.5973 GB, free: 1.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004068/0.206, allocations: 299.2 kB / 0.5975 GB, free: 1.594 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.2061, allocations: 106.8 kB / 0.5976 GB, free: 1.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2062, allocations: 203.1 kB / 0.5978 GB, free: 1.258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2063, allocations: 29.7 kB / 0.5979 GB, free: 1.223 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2063, allocations: 112.1 kB / 0.598 GB, free: 1.109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.2064, allocations: 19.72 kB / 0.598 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.2064, allocations: 4 kB / 0.598 GB, free: 1.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2065, allocations: 326.8 kB / 0.5983 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.2066, allocations: 56.09 kB / 0.5984 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.2066, allocations: 61.7 kB / 0.5984 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.2067, allocations: 81.69 kB / 0.5985 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2067, allocations: 4 kB / 0.5985 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002599/0.207, allocations: 243.1 kB / 0.5987 GB, free: 304 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.2071, allocations: 33.7 kB / 0.5988 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2071, allocations: 0 / 0.5988 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2071, allocations: 0 / 0.5988 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.2072, allocations: 19.95 kB / 0.5988 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2072, allocations: 0 / 0.5988 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.2073, allocations: 19.78 kB / 0.5988 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2073, allocations: 4 kB / 0.5988 GB, free: 220 kB / 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: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.2074, allocations: 178.4 kB / 0.599 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.2074, allocations: 11.97 kB / 0.599 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.2076, allocations: 75.02 kB / 0.5991 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2076, allocations: 4 kB / 0.5991 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2076, allocations: 0 / 0.5991 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.2076, allocations: 0 / 0.5991 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.2078, allocations: 221.4 kB / 0.5993 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2078, allocations: 0 / 0.5993 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.2079, allocations: 8 kB / 0.5993 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2079, allocations: 0 / 0.5993 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2079, allocations: 7.984 kB / 0.5993 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2079, allocations: 0 / 0.5993 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2079, allocations: 4 kB / 0.5993 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.2083, allocations: 299.4 kB / 0.5996 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.2083, allocations: 108.8 kB / 0.5997 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2084, allocations: 4 kB / 0.5997 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.2084, allocations: 4 kB / 0.5997 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.2085, allocations: 7.984 kB / 0.5997 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2085, allocations: 11.98 kB / 0.5997 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.2086, allocations: 156.1 kB / 0.5999 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2086, allocations: 0 / 0.5999 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.2089, allocations: 39.94 kB / 0.5999 GB, free: 14.98 MB / 462.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: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.209, allocations: 131.2 kB / 0.6 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.2093, allocations: 219.4 kB / 0.6002 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2093, allocations: 0 / 0.6002 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.2095, allocations: 155.5 kB / 0.6004 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.2097, allocations: 8.25 kB / 0.6004 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.2102, allocations: 347.3 kB / 0.6007 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.2105, allocations: 0.7184 MB / 0.6014 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.2105, allocations: 4 kB / 0.6014 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.2106, allocations: 7.438 kB / 0.6014 GB, free: 13.32 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2106, allocations: 0 / 0.6014 GB, free: 13.32 MB / 462.1 MB Notification: Performance of Templates: time 0.003789/0.2144, allocations: 1.24 MB / 0.6026 GB, free: 12.12 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: