Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001152/0.001152, allocations: 98.72 kB / 16.26 MB, free: 6.418 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.001186/0.001186, allocations: 191 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2697, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003382/0.2731, allocations: 1.492 MB / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2744, allocations: 0.6241 MB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.455e-05/0.2745, allocations: 4 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.2747, allocations: 71.83 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.2749, allocations: 79.81 kB / 0.7862 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.2754, allocations: 99.7 kB / 0.7863 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.2757, allocations: 95.81 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2758, allocations: 15.97 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.276, allocations: 63.75 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2761, allocations: 79.86 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.2762, allocations: 4 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.2763, allocations: 75.92 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.2764, allocations: 23.92 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.2765, allocations: 51.66 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2767, allocations: 139.8 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2767, allocations: 0 / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2767, allocations: 0 / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2768, allocations: 0 / 0.7869 GB, free: 0.9414 MB / 0.6544 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.0006361/0.2774, allocations: 456.5 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2774, allocations: 8.031 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.2775, allocations: 16.75 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.2777, allocations: 204.8 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.2778, allocations: 384 / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2778, allocations: 4.375 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.278, allocations: 111.7 kB / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.278, allocations: 7.984 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.278, allocations: 0 / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.278, allocations: 0 / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5151/0.7931, allocations: 53.81 kB / 0.7877 GB, free: 49.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.7938, allocations: 300.1 kB / 0.788 GB, free: 49.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.7939, allocations: 98.33 kB / 0.7881 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.794, allocations: 80.41 kB / 0.7881 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.794, allocations: 0.9375 kB / 0.7881 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.7943, allocations: 150.2 kB / 0.7883 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.484e-06/0.7944, allocations: 0 / 0.7883 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004308/0.7948, allocations: 298.4 kB / 0.7886 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.7948, allocations: 109.2 kB / 0.7887 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.795, allocations: 207 kB / 0.7889 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.795, allocations: 29.83 kB / 0.7889 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.7951, allocations: 111.2 kB / 0.789 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.7951, allocations: 28.62 kB / 0.789 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.7952, allocations: 26.78 kB / 0.7891 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.7952, allocations: 330.4 kB / 0.7894 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.7953, allocations: 50.92 kB / 0.7894 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-05/0.7953, allocations: 68.84 kB / 0.7895 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.7955, allocations: 177.9 kB / 0.7897 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7955, allocations: 0 / 0.7897 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002275/0.7957, allocations: 247 kB / 0.7899 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.7958, allocations: 37.91 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7958, allocations: 0.5625 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.7958, allocations: 0 / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.7959, allocations: 12.78 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7959, allocations: 3.219 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.796, allocations: 4.812 kB / 0.7899 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.796, allocations: 6.875 kB / 0.79 GB, free: 48.14 MB / 0.6544 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.0001032/0.7961, allocations: 173.5 kB / 0.7901 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.7961, allocations: 20.53 kB / 0.7901 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.7963, allocations: 68.17 kB / 0.7902 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7963, allocations: 1.172 kB / 0.7902 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7963, allocations: 1.344 kB / 0.7902 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7963, allocations: 4.469 kB / 0.7902 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.7964, allocations: 219.4 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7965, allocations: 5.422 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.7965, allocations: 9.312 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.7965, allocations: 2.312 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.7965, allocations: 2.844 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7965, allocations: 4.75 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7965, allocations: 0.5312 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.7968, allocations: 305.5 kB / 0.7907 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.7969, allocations: 104 kB / 0.7908 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.7969, allocations: 5.75 kB / 0.7908 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.797, allocations: 6.719 kB / 0.7908 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.797, allocations: 7.812 kB / 0.7909 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.7971, allocations: 10.09 kB / 0.7909 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.618e-05/0.7972, allocations: 152.8 kB / 0.791 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7972, allocations: 1.406 kB / 0.791 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002446/0.7974, allocations: 39.22 kB / 0.791 GB, free: 47.47 MB / 0.6544 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.0001679/0.7976, allocations: 123.8 kB / 0.7912 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.7979, allocations: 224.9 kB / 0.7914 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7979, allocations: 0 / 0.7914 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.798, allocations: 154.5 kB / 0.7915 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.7982, allocations: 13.97 kB / 0.7915 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.7988, allocations: 342.9 kB / 0.7919 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.7989, allocations: 0.7216 MB / 0.7926 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.799, allocations: 10.94 kB / 0.7926 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.799, allocations: 0.5938 kB / 0.7926 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.003211/0.8022, allocations: 1.559 MB / 0.7941 GB, free: 46.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)