Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8367/0.8367, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 173.5 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 85.47 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.0017/0.001699, allocations: 271.4 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004877, allocations: 24 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3869, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.522, allocations: 108.7 MB / 0.8456 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.5223, allocations: 83.94 kB / 0.8457 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.008854/0.5311, allocations: 3.238 MB / 0.8488 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5312, allocations: 11.88 kB / 0.8488 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.5312, allocations: 0 / 0.8488 GB, free: 14.21 MB / 0.5261 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.0004915/0.5317, allocations: 456.5 kB / 0.8493 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5317, allocations: 8.031 kB / 0.8493 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.5318, allocations: 12.84 kB / 0.8493 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.5321, allocations: 228.7 kB / 0.8495 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5321, allocations: 4.375 kB / 0.8495 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.5321, allocations: 4.375 kB / 0.8495 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.5324, allocations: 127.8 kB / 0.8496 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5324, allocations: 192 / 0.8496 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.5324, allocations: 11.94 kB / 0.8497 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5324, allocations: 0 / 0.8497 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.5325, allocations: 71.95 kB / 0.8497 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.533, allocations: 408.9 kB / 0.8501 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.5331, allocations: 121 kB / 0.8502 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.5333, allocations: 89.89 kB / 0.8503 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.5333, allocations: 3.984 kB / 0.8503 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.5335, allocations: 178.7 kB / 0.8505 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.5335, allocations: 0 / 0.8505 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0006/0.5341, allocations: 377 kB / 0.8508 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.5342, allocations: 110.8 kB / 0.851 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.5344, allocations: 195.2 kB / 0.8511 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.5344, allocations: 29.83 kB / 0.8512 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.5345, allocations: 116.1 kB / 0.8513 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.5345, allocations: 19.66 kB / 0.8513 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.5345, allocations: 4 kB / 0.8513 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5346, allocations: 326.8 kB / 0.8516 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.5347, allocations: 71.91 kB / 0.8517 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.891e-05/0.5349, allocations: 86.33 kB / 0.8518 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.5351, allocations: 217 kB / 0.852 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5351, allocations: 3.938 kB / 0.852 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003953/0.5355, allocations: 311 kB / 0.8523 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.5355, allocations: 38.48 kB / 0.8523 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5356, allocations: 0 / 0.8523 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5356, allocations: 0 / 0.8523 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.5357, allocations: 16.05 kB / 0.8523 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5357, allocations: 0 / 0.8523 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.5357, allocations: 4 kB / 0.8523 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.5358, allocations: 8 kB / 0.8523 GB, free: 10.31 MB / 0.5261 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 ($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.0001363/0.5359, allocations: 179.5 kB / 0.8525 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.536, allocations: 23.75 kB / 0.8525 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.5361, allocations: 71.09 kB / 0.8526 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5361, allocations: 0 / 0.8526 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5361, allocations: 0 / 0.8526 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5362, allocations: 4 kB / 0.8526 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.5363, allocations: 229.4 kB / 0.8528 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5364, allocations: 7.984 kB / 0.8528 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.5364, allocations: 8 kB / 0.8528 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5364, allocations: 0 / 0.8528 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5364, allocations: 8 kB / 0.8528 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5364, allocations: 0 / 0.8528 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5365, allocations: 4 kB / 0.8528 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.5369, allocations: 365.2 kB / 0.8532 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.537, allocations: 113 kB / 0.8533 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.5371, allocations: 11.94 kB / 0.8533 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/0.5371, allocations: 4 kB / 0.8533 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.5372, allocations: 7.984 kB / 0.8533 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.5372, allocations: 12 kB / 0.8533 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000117/0.5373, allocations: 157.1 kB / 0.8535 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5373, allocations: 3.938 kB / 0.8535 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002503/0.5376, allocations: 39.94 kB / 0.8535 GB, free: 8.969 MB / 0.5261 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 (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.0001922/0.5378, allocations: 136.3 kB / 0.8537 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.5381, allocations: 215.3 kB / 0.8539 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5381, allocations: 0 / 0.8539 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.5382, allocations: 155.3 kB / 0.854 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.5384, allocations: 13.36 kB / 0.854 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.539, allocations: 340.2 kB / 0.8543 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.5392, allocations: 0.7197 MB / 0.8551 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.5393, allocations: 4.328 kB / 0.8551 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.5393, allocations: 7.438 kB / 0.8551 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.5393, allocations: 3.938 kB / 0.8551 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of Templates: time 0.003623/0.5429, allocations: 1.228 MB / 0.8563 GB, free: 6.094 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)