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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001088/0.001088, allocations: 189.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 302.7 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9545/0.9545, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 88.45 kB / 0.5947 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1485, allocations: 86.99 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002577/0.1511, allocations: 1.655 MB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009391/0.1521, allocations: 0.6341 MB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.1521, allocations: 4.719 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1523, allocations: 72.45 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.1525, allocations: 105.8 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1528, allocations: 83.84 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.153, allocations: 131.7 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.1e-05/0.153, allocations: 11.98 kB / 0.6823 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1532, allocations: 71.8 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1533, allocations: 103.8 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1533, allocations: 15.94 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1535, allocations: 75.88 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1535, allocations: 39.83 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.1536, allocations: 59.61 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1538, allocations: 159.8 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1538, allocations: 0 / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1538, allocations: 0 / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1538, allocations: 0 / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006233/0.1545, allocations: 488.3 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.1545, allocations: 8.031 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1545, allocations: 16.75 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1547, allocations: 208.6 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1548, allocations: 12.31 kB / 0.6835 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1548, allocations: 8.359 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.155, allocations: 123.7 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.155, allocations: 0 / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.155, allocations: 0 / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.155, allocations: 4 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1551, allocations: 79.83 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.1555, allocations: 404.8 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1557, allocations: 121.1 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.499e-05/0.1558, allocations: 81.8 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1558, allocations: 3.984 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.1561, allocations: 177.5 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.1561, allocations: 0 / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004985/0.1566, allocations: 339.2 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1567, allocations: 110.8 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1568, allocations: 218.3 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1569, allocations: 33.64 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.1569, allocations: 112.1 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.157, allocations: 31.56 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.157, allocations: 29.7 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1571, allocations: 330.8 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.1572, allocations: 63.97 kB / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.1573, allocations: 73.69 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1575, allocations: 205 kB / 0.6859 GB, free: 10.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1575, allocations: 0 / 0.6859 GB, free: 10.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003071/0.1578, allocations: 263.1 kB / 0.6861 GB, free: 10.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.1579, allocations: 41.62 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1579, allocations: 0 / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1579, allocations: 0 / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.158, allocations: 15.98 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.158, allocations: 4 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.1581, allocations: 4 kB / 0.6862 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1582, allocations: 8 kB / 0.6862 GB, free: 10 MB / 494.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: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,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 (10): * Single equations (assignments): 9 * 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.0001391/0.1583, allocations: 182.4 kB / 0.6864 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1583, allocations: 15.81 kB / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.1585, allocations: 110.8 kB / 0.6865 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1586, allocations: 4 kB / 0.6865 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1586, allocations: 0 / 0.6865 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1586, allocations: 96 / 0.6865 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1588, allocations: 245.4 kB / 0.6867 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1588, allocations: 384 / 0.6867 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.1588, allocations: 8 kB / 0.6868 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1588, allocations: 4 kB / 0.6868 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1588, allocations: 7.984 kB / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1589, allocations: 0 / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1589, allocations: 0 / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.1592, allocations: 339.3 kB / 0.6871 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.1593, allocations: 100.9 kB / 0.6872 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1594, allocations: 8 kB / 0.6872 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.1595, allocations: 7.984 kB / 0.6872 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1595, allocations: 15.98 kB / 0.6872 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1595, allocations: 4 kB / 0.6872 GB, free: 8.859 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1597, allocations: 168.3 kB / 0.6874 GB, free: 8.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1597, allocations: 3.938 kB / 0.6874 GB, free: 8.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1599, allocations: 44 kB / 0.6874 GB, free: 8.648 MB / 494.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: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0001676/0.1601, allocations: 140.9 kB / 0.6876 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.1604, allocations: 247.3 kB / 0.6878 GB, free: 8.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1604, allocations: 0 / 0.6878 GB, free: 8.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1606, allocations: 159.4 kB / 0.6879 GB, free: 8.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1608, allocations: 16 kB / 0.688 GB, free: 8.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.1614, allocations: 388.3 kB / 0.6883 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1617, allocations: 0.7236 MB / 0.689 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.169e-05/0.1617, allocations: 8 kB / 0.689 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.1617, allocations: 11.44 kB / 0.6891 GB, free: 6.887 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1617, allocations: 3.938 kB / 0.6891 GB, free: 6.883 MB / 494.1 MB Notification: Performance of Templates: time 0.004044/0.1658, allocations: 1.64 MB / 0.6907 GB, free: 5.293 MB / 494.1 MB 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)