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.2948/0.2969, allocations: 80.81 MB / 0.5904 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002079/0.299, allocations: 1.475 MB / 0.5918 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.2998, allocations: 0.6314 MB / 0.5925 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.2998, allocations: 0.8438 kB / 0.5925 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.2999, allocations: 72.75 kB / 0.5925 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.3001, allocations: 86.34 kB / 0.5926 GB, free: 20.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.3004, allocations: 87.77 kB / 0.5927 GB, free: 20.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.3005, allocations: 108.5 kB / 0.5928 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.3005, allocations: 8.984 kB / 0.5928 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.3006, allocations: 60.34 kB / 0.5929 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.3007, allocations: 83.86 kB / 0.5929 GB, free: 20.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3008, allocations: 6.062 kB / 0.593 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.3009, allocations: 75.92 kB / 0.593 GB, free: 20.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.3009, allocations: 27.91 kB / 0.5931 GB, free: 20.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.3009, allocations: 43.67 kB / 0.5931 GB, free: 20.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3011, allocations: 138.1 kB / 0.5932 GB, free: 19.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3011, allocations: 4.781 kB / 0.5932 GB, free: 19.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3011, allocations: 0 / 0.5932 GB, free: 19.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3011, allocations: 5.609 kB / 0.5932 GB, free: 19.9 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.0003467/0.3015, allocations: 448.5 kB / 0.5937 GB, free: 19.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.3015, allocations: 12.03 kB / 0.5937 GB, free: 19.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3015, allocations: 21.69 kB / 0.5937 GB, free: 19.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3017, allocations: 200.8 kB / 0.5939 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3017, allocations: 4.375 kB / 0.5939 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3017, allocations: 9 kB / 0.5939 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3018, allocations: 108.5 kB / 0.594 GB, free: 19.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3018, allocations: 2.438 kB / 0.594 GB, free: 19.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3018, allocations: 4 kB / 0.594 GB, free: 19.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3019, allocations: 0 / 0.594 GB, free: 19.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.808e-05/0.3019, allocations: 59.91 kB / 0.5941 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.3022, allocations: 305.1 kB / 0.5944 GB, free: 18.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.3023, allocations: 101.1 kB / 0.5945 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.3024, allocations: 69.75 kB / 0.5945 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3024, allocations: 3.875 kB / 0.5945 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.3025, allocations: 150.7 kB / 0.5947 GB, free: 18.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.3025, allocations: 0 / 0.5947 GB, free: 18.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003048/0.3028, allocations: 295.1 kB / 0.595 GB, free: 17.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.3029, allocations: 110.8 kB / 0.5951 GB, free: 17.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.303, allocations: 206.6 kB / 0.5953 GB, free: 17.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.303, allocations: 29.7 kB / 0.5953 GB, free: 17.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.303, allocations: 104.1 kB / 0.5954 GB, free: 17.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.3031, allocations: 27.56 kB / 0.5954 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.3031, allocations: 29.7 kB / 0.5954 GB, free: 17.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.967e-05/0.3032, allocations: 330.8 kB / 0.5958 GB, free: 17.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.3032, allocations: 47.98 kB / 0.5958 GB, free: 17.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.3033, allocations: 73.81 kB / 0.5959 GB, free: 16.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.3034, allocations: 177 kB / 0.596 GB, free: 16.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3034, allocations: 0 / 0.596 GB, free: 16.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001818/0.3036, allocations: 247.1 kB / 0.5963 GB, free: 16.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3036, allocations: 33.7 kB / 0.5963 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3036, allocations: 0 / 0.5963 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3036, allocations: 3.938 kB / 0.5963 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.3037, allocations: 16.02 kB / 0.5963 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3037, allocations: 0 / 0.5963 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.3038, allocations: 8 kB / 0.5963 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3038, allocations: 4 kB / 0.5963 GB, free: 16.42 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: 7 (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 (6): * Single equations (assignments): 5 * 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 8.334e-05/0.3039, allocations: 185.4 kB / 0.5965 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.3039, allocations: 15.81 kB / 0.5965 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.304, allocations: 67.02 kB / 0.5966 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.304, allocations: 8 kB / 0.5966 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.304, allocations: 0 / 0.5966 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.304, allocations: 0 / 0.5966 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/0.3041, allocations: 221.4 kB / 0.5968 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3041, allocations: 0 / 0.5968 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.3042, allocations: 8 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3042, allocations: 3.984 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3042, allocations: 8.062 kB / 0.5968 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3042, allocations: 0 / 0.5968 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3042, allocations: 0 / 0.5968 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.3044, allocations: 307.4 kB / 0.5971 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.3045, allocations: 104.8 kB / 0.5972 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.3045, allocations: 4 kB / 0.5972 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.3046, allocations: 4 kB / 0.5972 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.3046, allocations: 3.984 kB / 0.5972 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.3046, allocations: 8 kB / 0.5972 GB, free: 15.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.798e-05/0.3047, allocations: 156.1 kB / 0.5974 GB, free: 15.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3047, allocations: 4 kB / 0.5974 GB, free: 15.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.3049, allocations: 39.94 kB / 0.5974 GB, free: 15.19 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: 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 (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.0001118/0.305, allocations: 130.2 kB / 0.5976 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.3052, allocations: 227.2 kB / 0.5978 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3052, allocations: 0 / 0.5978 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.3053, allocations: 151.3 kB / 0.5979 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.3055, allocations: 12.56 kB / 0.5979 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.3058, allocations: 319.9 kB / 0.5982 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.817e-05/0.3059, allocations: 0.7158 MB / 0.5989 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.306, allocations: 8.312 kB / 0.5989 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.306, allocations: 7.438 kB / 0.5989 GB, free: 13.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.8e-07/0.306, allocations: 0 / 0.5989 GB, free: 13.55 MB / 446.1 MB Notification: Performance of Templates: time 0.002895/0.3089, allocations: 1.348 MB / 0.6003 GB, free: 12.25 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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)