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.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001085/0.001085, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 292.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.922/0.922, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 94 kB / 0.5945 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1379, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002485/0.1404, allocations: 1.658 MB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.1414, allocations: 0.6542 MB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.1414, allocations: 0 / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.1416, allocations: 76.39 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.1418, allocations: 96.36 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.142, allocations: 83.83 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1422, allocations: 119.7 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.524e-05/0.1422, allocations: 15.98 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1424, allocations: 71.73 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1425, allocations: 95.78 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1425, allocations: 4 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1427, allocations: 79.86 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.1427, allocations: 31.91 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.1428, allocations: 51.59 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.143, allocations: 163.8 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.143, allocations: 0 / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.143, allocations: 0 / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.143, allocations: 4 kB / 0.6826 GB, free: 13.98 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.0006129/0.1436, allocations: 482.2 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1437, allocations: 8.031 kB / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.1437, allocations: 24.67 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1439, allocations: 208.6 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1439, allocations: 4.359 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1439, allocations: 8.312 kB / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1441, allocations: 130.4 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1442, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1442, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1442, allocations: 4 kB / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1443, allocations: 75.84 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1447, allocations: 408.8 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1449, allocations: 121.1 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.145, allocations: 81.83 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.145, allocations: 0 / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.1452, allocations: 174.8 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1453, allocations: 0 / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004773/0.1457, allocations: 335.4 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1458, allocations: 110.8 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.146, allocations: 214.3 kB / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.146, allocations: 29.7 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.1461, allocations: 112.1 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1461, allocations: 35.48 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.1462, allocations: 37.7 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1463, allocations: 326.8 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.1464, allocations: 63.97 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.1465, allocations: 77.69 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1467, allocations: 193 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1467, allocations: 0 / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003063/0.147, allocations: 263.1 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.147, allocations: 49.62 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.147, allocations: 320 / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1471, allocations: 3.938 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.1472, allocations: 15.98 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1472, allocations: 8.078 kB / 0.686 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.606e-05/0.1473, allocations: 11.94 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1473, allocations: 4 kB / 0.686 GB, free: 10.12 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.0001326/0.1474, allocations: 180.8 kB / 0.6862 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.1475, allocations: 19.91 kB / 0.6862 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.1477, allocations: 110.9 kB / 0.6863 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1477, allocations: 0 / 0.6863 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1477, allocations: 0 / 0.6863 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1477, allocations: 4 kB / 0.6863 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1479, allocations: 233.4 kB / 0.6865 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1479, allocations: 0 / 0.6865 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.1479, allocations: 12 kB / 0.6865 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1479, allocations: 0 / 0.6865 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.148, allocations: 11.98 kB / 0.6866 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.148, allocations: 4 kB / 0.6866 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.148, allocations: 0 / 0.6866 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.1484, allocations: 331.3 kB / 0.6869 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.1485, allocations: 104.9 kB / 0.687 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.1485, allocations: 4 kB / 0.687 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1486, allocations: 15.98 kB / 0.687 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.1487, allocations: 7.984 kB / 0.687 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1487, allocations: 4 kB / 0.687 GB, free: 8.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1488, allocations: 164.2 kB / 0.6872 GB, free: 8.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1488, allocations: 0 / 0.6872 GB, free: 8.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1491, allocations: 48 kB / 0.6872 GB, free: 8.773 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.0001564/0.1492, allocations: 133.1 kB / 0.6873 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1495, allocations: 247.3 kB / 0.6876 GB, free: 8.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1496, allocations: 4 kB / 0.6876 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1497, allocations: 167.3 kB / 0.6877 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.1499, allocations: 12 kB / 0.6878 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.1505, allocations: 390 kB / 0.6881 GB, free: 7.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1507, allocations: 0.7239 MB / 0.6888 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.98e-05/0.1508, allocations: 7.984 kB / 0.6888 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.1508, allocations: 11.44 kB / 0.6888 GB, free: 7.008 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1508, allocations: 0 / 0.6888 GB, free: 7.008 MB / 494.1 MB Notification: Performance of Templates: time 0.003678/0.1545, allocations: 1.574 MB / 0.6904 GB, free: 5.48 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)