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.1958/0.1979, allocations: 80.84 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002646/0.2006, allocations: 1.473 MB / 0.6721 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2018, allocations: 0.6204 MB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.2019, allocations: 3.938 kB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.202, allocations: 75.83 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.2022, allocations: 79.81 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.2026, allocations: 95.7 kB / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.2028, allocations: 103.6 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.2029, allocations: 15.98 kB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.203, allocations: 55.88 kB / 0.6731 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.2032, allocations: 91.84 kB / 0.6732 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2032, allocations: 7.938 kB / 0.6732 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.2033, allocations: 75.86 kB / 0.6732 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.2034, allocations: 27.91 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.2035, allocations: 39.69 kB / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.2037, allocations: 143.5 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2037, allocations: 0 / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2037, allocations: 0 / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.2037, allocations: 3.938 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB 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.0005467/0.2043, allocations: 452.5 kB / 0.6739 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2043, allocations: 8.031 kB / 0.6739 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.2044, allocations: 16.75 kB / 0.6739 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.2046, allocations: 197 kB / 0.6741 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.2047, allocations: 8.312 kB / 0.6741 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2047, allocations: 4.375 kB / 0.6741 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2049, allocations: 107.7 kB / 0.6742 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2049, allocations: 4 kB / 0.6742 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2049, allocations: 0 / 0.6742 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2049, allocations: 0 / 0.6742 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.205, allocations: 63.91 kB / 0.6743 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.2054, allocations: 309.6 kB / 0.6746 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2055, allocations: 97.2 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2056, allocations: 77.67 kB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2057, allocations: 0 / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.2059, allocations: 150.8 kB / 0.6749 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2059, allocations: 0 / 0.6749 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004138/0.2063, allocations: 299.1 kB / 0.6752 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.2064, allocations: 110.8 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.2066, allocations: 202.9 kB / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2066, allocations: 29.7 kB / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.2067, allocations: 116.1 kB / 0.6756 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.2067, allocations: 23.7 kB / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.2068, allocations: 21.72 kB / 0.6756 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2069, allocations: 334.9 kB / 0.676 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.207, allocations: 55.91 kB / 0.676 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.2071, allocations: 69.69 kB / 0.6761 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.2072, allocations: 177 kB / 0.6762 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2072, allocations: 4 kB / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003621/0.2076, allocations: 239.1 kB / 0.6765 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.2077, allocations: 37.69 kB / 0.6765 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2077, allocations: 4.031 kB / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2077, allocations: 4 kB / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.2078, allocations: 7.938 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2078, allocations: 4 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.2079, allocations: 7.922 kB / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2079, allocations: 8.094 kB / 0.6766 GB, free: 11.62 MB / 0.5137 GB 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 0.0001389/0.208, allocations: 183.4 kB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2081, allocations: 15.81 kB / 0.6767 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.2082, allocations: 67.09 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2082, allocations: 3.984 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2082, allocations: 0 / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2082, allocations: 4 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2084, allocations: 213.5 kB / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2084, allocations: 0 / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.2085, allocations: 7.938 kB / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2085, allocations: 4 kB / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2085, allocations: 4 kB / 0.677 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2085, allocations: 0 / 0.677 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2085, allocations: 4 kB / 0.677 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.2089, allocations: 307.5 kB / 0.6773 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.2089, allocations: 104.8 kB / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.209, allocations: 4 kB / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.209, allocations: 4 kB / 0.6774 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.2091, allocations: 11.92 kB / 0.6774 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.2091, allocations: 12.12 kB / 0.6775 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001198/0.2092, allocations: 148.1 kB / 0.6776 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2093, allocations: 0 / 0.6776 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002455/0.2095, allocations: 36 kB / 0.6776 GB, free: 10.38 MB / 0.5137 GB 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.0001959/0.2097, allocations: 135.2 kB / 0.6778 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.21, allocations: 231.2 kB / 0.678 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.21, allocations: 0 / 0.678 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.2102, allocations: 159.4 kB / 0.6781 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2104, allocations: 8 kB / 0.6781 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.2109, allocations: 303.9 kB / 0.6784 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.2112, allocations: 0.7283 MB / 0.6791 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.2113, allocations: 12.25 kB / 0.6792 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.2113, allocations: 11.44 kB / 0.6792 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2113, allocations: 0 / 0.6792 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of Templates: time 0.004216/0.2155, allocations: 1.338 MB / 0.6805 GB, free: 7.398 MB / 0.5137 GB 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)