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.1177/0.1194, allocations: 80.84 MB / 0.5897 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002423/0.1219, allocations: 1.544 MB / 0.5912 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.1228, allocations: 0.6406 MB / 0.5918 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.1229, allocations: 3.938 kB / 0.5918 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.123, allocations: 63.89 kB / 0.5919 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.1231, allocations: 91.81 kB / 0.592 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1234, allocations: 67.84 kB / 0.592 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.1235, allocations: 95.73 kB / 0.5921 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.1236, allocations: 4 kB / 0.5921 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1237, allocations: 55.83 kB / 0.5922 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1238, allocations: 87.83 kB / 0.5923 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1238, allocations: 4 kB / 0.5923 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1239, allocations: 71.94 kB / 0.5923 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.124, allocations: 31.84 kB / 0.5924 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.124, allocations: 31.75 kB / 0.5924 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1242, allocations: 143.7 kB / 0.5925 GB, free: 4.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1242, allocations: 0 / 0.5925 GB, free: 4.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1242, allocations: 4 kB / 0.5925 GB, free: 4.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1242, allocations: 4 kB / 0.5925 GB, free: 4.184 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.0004353/0.1247, allocations: 448.5 kB / 0.593 GB, free: 3.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.1247, allocations: 8.031 kB / 0.593 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.1247, allocations: 16.75 kB / 0.593 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1249, allocations: 208.8 kB / 0.5932 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.1249, allocations: 4.375 kB / 0.5932 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1249, allocations: 4.375 kB / 0.5932 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1251, allocations: 119.6 kB / 0.5933 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1251, allocations: 0 / 0.5933 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1251, allocations: 0 / 0.5933 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1251, allocations: 4 kB / 0.5933 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.1252, allocations: 55.97 kB / 0.5934 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.1255, allocations: 297.7 kB / 0.5937 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1256, allocations: 101.1 kB / 0.5938 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.1257, allocations: 77.73 kB / 0.5938 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1257, allocations: 4 kB / 0.5938 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1259, allocations: 150.7 kB / 0.594 GB, free: 2.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1259, allocations: 4 kB / 0.594 GB, free: 2.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003655/0.1263, allocations: 295.1 kB / 0.5943 GB, free: 2.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1264, allocations: 106.8 kB / 0.5944 GB, free: 2.078 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1265, allocations: 203.1 kB / 0.5946 GB, free: 1.871 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1265, allocations: 25.7 kB / 0.5946 GB, free: 1.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.1266, allocations: 116.2 kB / 0.5947 GB, free: 1.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1266, allocations: 27.69 kB / 0.5947 GB, free: 1.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.1267, allocations: 21.84 kB / 0.5947 GB, free: 1.668 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.1268, allocations: 334.8 kB / 0.5951 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.1268, allocations: 51.97 kB / 0.5951 GB, free: 1.281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.204e-05/0.1269, allocations: 65.69 kB / 0.5952 GB, free: 1.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.127, allocations: 181 kB / 0.5953 GB, free: 1.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1271, allocations: 3.938 kB / 0.5953 GB, free: 1.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002311/0.1273, allocations: 239.1 kB / 0.5956 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.1273, allocations: 41.72 kB / 0.5956 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1273, allocations: 4 kB / 0.5956 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.1274, allocations: 0 / 0.5956 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.1274, allocations: 8 kB / 0.5956 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1274, allocations: 0 / 0.5956 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.1275, allocations: 7.938 kB / 0.5956 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1275, allocations: 7.984 kB / 0.5956 GB, free: 0.6914 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 0.0001082/0.1276, allocations: 172.3 kB / 0.5958 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.1277, allocations: 15.81 kB / 0.5958 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.1278, allocations: 83.03 kB / 0.5959 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1278, allocations: 0 / 0.5959 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1278, allocations: 4 kB / 0.5959 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1278, allocations: 3.984 kB / 0.5959 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.128, allocations: 213.5 kB / 0.5961 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.128, allocations: 0 / 0.5961 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.128, allocations: 8 kB / 0.5961 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.128, allocations: 0 / 0.5961 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.128, allocations: 12 kB / 0.5961 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.128, allocations: 0 / 0.5961 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.128, allocations: 4.062 kB / 0.5961 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.1283, allocations: 309.5 kB / 0.5964 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.1284, allocations: 101 kB / 0.5965 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1284, allocations: 8 kB / 0.5965 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.1285, allocations: 0 / 0.5965 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.1285, allocations: 8 kB / 0.5965 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1286, allocations: 11.97 kB / 0.5966 GB, free: 15.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.841e-05/0.1287, allocations: 148.1 kB / 0.5967 GB, free: 15.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1287, allocations: 0 / 0.5967 GB, free: 15.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1289, allocations: 43.94 kB / 0.5967 GB, free: 15.46 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 (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.0001399/0.129, allocations: 123.2 kB / 0.5969 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.1293, allocations: 223.2 kB / 0.5971 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1293, allocations: 4.062 kB / 0.5971 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1294, allocations: 151.3 kB / 0.5972 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.1296, allocations: 11.98 kB / 0.5972 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.13, allocations: 348.4 kB / 0.5976 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1302, allocations: 0.7128 MB / 0.5983 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.774e-05/0.1303, allocations: 11.97 kB / 0.5983 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.1303, allocations: 19.44 kB / 0.5983 GB, free: 13.79 MB / 462.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1303, allocations: 0 / 0.5983 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Templates: time 0.002956/0.1333, allocations: 1.268 MB / 0.5995 GB, free: 12.56 MB / 462.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)