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.001445/0.001445, allocations: 105.3 kB / 16.36 MB, free: 6.352 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.00161/0.00161, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.346/1.346, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001595/0.001595, allocations: 75.36 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.234, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003416/0.2375, allocations: 1.492 MB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2388, allocations: 0.6163 MB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.373e-05/0.239, allocations: 4 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.2391, allocations: 79.81 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.2394, allocations: 87.75 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.2399, allocations: 83.78 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.2401, allocations: 103.7 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.2402, allocations: 7.984 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2404, allocations: 63.81 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.2406, allocations: 91.83 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.2407, allocations: 4 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.2408, allocations: 79.92 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.2409, allocations: 19.92 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.739e-05/0.241, allocations: 43.69 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.2412, allocations: 143.5 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2412, allocations: 0 / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2413, allocations: 0 / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.2413, allocations: 0 / 0.7876 GB, free: 236 kB / 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.4083/0.6496, allocations: 446.1 kB / 0.788 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.6497, allocations: 10.38 kB / 0.788 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.6498, allocations: 17.19 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.6501, allocations: 201.2 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.6502, allocations: 7.344 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.6502, allocations: 3.781 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.6504, allocations: 114.5 kB / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6504, allocations: 0 / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.6504, allocations: 7.875 kB / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6504, allocations: 2.969 kB / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.6506, allocations: 62.3 kB / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.6509, allocations: 292.4 kB / 0.7887 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.6511, allocations: 103.9 kB / 0.7888 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.6512, allocations: 73.86 kB / 0.7889 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.6512, allocations: 0 / 0.7889 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.6514, allocations: 151.7 kB / 0.789 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.6514, allocations: 0 / 0.789 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0004232/0.6518, allocations: 303.7 kB / 0.7893 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.6519, allocations: 111.7 kB / 0.7894 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.652, allocations: 200.3 kB / 0.7896 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.652, allocations: 32.2 kB / 0.7897 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.6521, allocations: 110.8 kB / 0.7898 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.6521, allocations: 19.38 kB / 0.7898 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.6522, allocations: 26.38 kB / 0.7898 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.6523, allocations: 329.1 kB / 0.7901 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.6523, allocations: 51.31 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.6524, allocations: 67.25 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.6526, allocations: 189.3 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6526, allocations: 3.938 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000237/0.6528, allocations: 243.9 kB / 0.7907 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.6528, allocations: 40.69 kB / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6529, allocations: 0 / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6529, allocations: 0 / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.653, allocations: 7.875 kB / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.653, allocations: 0 / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.6531, allocations: 9.75 kB / 0.7907 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.6531, allocations: 5.312 kB / 0.7907 GB, free: 47.21 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.000102/0.6532, allocations: 181.4 kB / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.6532, allocations: 16.16 kB / 0.7909 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.6534, allocations: 71.59 kB / 0.791 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6534, allocations: 5.688 kB / 0.791 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6534, allocations: 0 / 0.791 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6534, allocations: 0 / 0.791 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.6535, allocations: 212.1 kB / 0.7912 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6535, allocations: 3.172 kB / 0.7912 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.6536, allocations: 9.969 kB / 0.7912 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6536, allocations: 2.625 kB / 0.7912 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.6536, allocations: 9.516 kB / 0.7912 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6536, allocations: 0 / 0.7912 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6536, allocations: 2.344 kB / 0.7912 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.6539, allocations: 305.5 kB / 0.7915 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.654, allocations: 99.22 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.654, allocations: 8.906 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.654, allocations: 3.781 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.6541, allocations: 6.375 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.6541, allocations: 5.453 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.481e-05/0.6542, allocations: 163 kB / 0.7918 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6542, allocations: 0.5625 kB / 0.7918 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002487/0.6545, allocations: 37.66 kB / 0.7918 GB, free: 46.54 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.0001743/0.6547, allocations: 129.1 kB / 0.7919 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.6549, allocations: 221.3 kB / 0.7921 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6549, allocations: 0 / 0.7921 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.655, allocations: 154.6 kB / 0.7923 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.6552, allocations: 14.67 kB / 0.7923 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.6557, allocations: 346.1 kB / 0.7926 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.6559, allocations: 0.7222 MB / 0.7933 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.6559, allocations: 12.72 kB / 0.7933 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6559, allocations: 0 / 0.7933 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.003039/0.6589, allocations: 1.562 MB / 0.7949 GB, free: 45.36 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)